Skip to content
Snippets Groups Projects
Commit c7c63370 authored by František Dvořák's avatar František Dvořák
Browse files

BigTop 3.0.0 - jsvc workaround

parent e1ca7e0c
No related branches found
No related tags found
No related merge requests found
Pipeline #863 passed
......@@ -50,6 +50,8 @@ write_files:
mod 'puppetlabs-mysql', '<10.10.0'
runcmd:
# workaround for bigtop-utils jsvc
- d=/usr/lib/jvm/default-java/lib; if test -e "$d" -a ! -e "$d/amd64"; then ln -fsv . "$d/amd64"; fi
- cd /etc/puppet/code && HOME=/root librarian-puppet install --verbose
- mkdir /data 2>/dev/null || true
- egrep '^\s*GSSAPIAuthentication\s+yes' /etc/ssh/sshd_config || echo 'GSSAPIAuthentication yes' >> /etc/ssh/sshd_config
......
......@@ -50,6 +50,8 @@ write_files:
mod 'puppetlabs-mysql', '<10.10.0'
runcmd:
# workaround for bigtop-utils jsvc
- d=/usr/lib/jvm/default-java/lib; if test -e "$d" -a ! -e "$d/amd64"; then ln -fsv . "$d/amd64"; fi
- cd /etc/puppet/code && HOME=/root librarian-puppet install --verbose
- mkdir /data 2>/dev/null || true
- egrep '^\s*GSSAPIAuthentication\s+yes' /etc/ssh/sshd_config || echo 'GSSAPIAuthentication yes' >> /etc/ssh/sshd_config
......
......@@ -50,6 +50,8 @@ write_files:
mod 'puppetlabs-mysql', '<10.10.0'
runcmd:
# workaround for bigtop-utils jsvc
- d=/usr/lib/jvm/default-java/lib; if test -e "$d" -a ! -e "$d/amd64"; then ln -fsv . "$d/amd64"; fi
- cd /etc/puppet/code && HOME=/root librarian-puppet install --verbose
- mkdir /data 2>/dev/null || true
- egrep '^\s*GSSAPIAuthentication\s+yes' /etc/ssh/sshd_config || echo 'GSSAPIAuthentication yes' >> /etc/ssh/sshd_config
......
......@@ -15,6 +15,9 @@ case "$BODI_RELEASE" in
esac
DAEMONS="$db_daemon krb5-admin-server krb5-kdc krb5-kpropd hadoop-hdfs-datanode hadoop-hdfs-namenode hadoop-httpfs hadoop-mapreduce-historyserver hadoop-yarn-nodemanager hadoop-yarn-resourcemanager hbase-master hbase-regionserver hive-metastore hive-server2 spark-history-server zookeeper-server"
# workaround for bigtop-utils jsvc
d="$BODI_CHROOT_PATH/usr/lib/jvm/default-java/lib"; if test -e "$d" -a ! -e "$d/amd64"; then ln -fsv . "$d/amd64"; fi
wget https://dist.apache.org/repos/dist/release/bigtop/KEYS -O - | chroot $BODI_CHROOT_PATH apt-key add -
cp -vp apt/*.pref $BODI_CHROOT_PATH/etc/apt/preferences.d/
cat <<EOF > $BODI_CHROOT_PATH/etc/apt/sources.list.d/bigtop.list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment