Skip to content
Permalink
Browse files
Update Accumulo 2.0.x classpath for newer ZKs (#265)
Update class path for all versions of Accumulo 2.0, rather than just
2.0.0, to support newer ZooKeeper versions (3.5 and later)
  • Loading branch information
ctubbsii committed Dec 23, 2020
1 parent 0142b24 commit 6494624383e9134e66d59f2a3f3db6b3e1a1a973
Showing 1 changed file with 1 addition and 1 deletion.
@@ -56,7 +56,7 @@ else
$SED "s#instance[.]zookeepers=localhost:2181#instance.zookeepers=$UNO_HOST:2181#" "$conf"/accumulo-client.properties
$SED "s#auth[.]principal=#auth.principal=$ACCUMULO_USER#" "$conf"/accumulo-client.properties
$SED "s#auth[.]token=#auth.token=$ACCUMULO_PASSWORD#" "$conf"/accumulo-client.properties
if [[ $ACCUMULO_VERSION =~ ^2\.0\.0.*$ ]]; then
if [[ $ACCUMULO_VERSION =~ ^2\.0\..*$ ]]; then
# Ignore false positive; we actually want the literal '${ZOOKEEPER_HOME}' and not its current value
# shellcheck disable=SC2016
$SED 's#:[$][{]ZOOKEEPER_HOME[}]/[*]:#:${ZOOKEEPER_HOME}/*:${ZOOKEEPER_HOME}/lib/*:#' "$conf"/accumulo-env.sh

0 comments on commit 6494624

Please sign in to comment.