This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git


The following commit(s) were added to refs/heads/master by this push:
     new 32c96e5  Fix install for Accumulo 1.9. Fixes #246
32c96e5 is described below

commit 32c96e5b16613c64713d7d5aca6920aee50b7139
Author: Mike Miller <[email protected]>
AuthorDate: Wed Apr 22 09:40:44 2020 -0400

    Fix install for Accumulo 1.9. Fixes #246
    
    * Make install script update 1.9 scripts to work with zookeeper 3.5+
---
 bin/impl/install/accumulo.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/impl/install/accumulo.sh b/bin/impl/install/accumulo.sh
index 265b15a..9c98268 100755
--- a/bin/impl/install/accumulo.sh
+++ b/bin/impl/install/accumulo.sh
@@ -49,6 +49,8 @@ if [[ $ACCUMULO_VERSION =~ ^1\..*$ ]]; then
   $SED "s#localhost#$UNO_HOST#" "$conf/slaves"
   cp "$UNO_HOME"/conf/accumulo/1/* "$conf"
   $SED "s#export HADOOP_PREFIX=[^ ]*#export HADOOP_PREFIX=$HADOOP_HOME#" 
"$conf"/accumulo-env.sh
+  $SED "s#ZOOKEEPER_HOME#ZOOKEEPER_HOME/lib#" "$accumulo_conf"
+  $SED "s#-maxdepth 1#-maxdepth 2#" "$ACCUMULO_HOME"/bin/start-all.sh
 else
   accumulo_conf=$conf/accumulo.properties
   cp "$UNO_HOME"/conf/accumulo/2/* "$conf"

Reply via email to