This is an automated email from the ASF dual-hosted git repository.
ctubbsii 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 d7197f4 Add zk command for zk cli (#218)
d7197f4 is described below
commit d7197f45042bcc687cbd6d93342bb33bdb0db6e5
Author: Mike Miller <[email protected]>
AuthorDate: Wed Jun 5 12:43:47 2019 -0400
Add zk command for zk cli (#218)
---
bin/uno | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bin/uno b/bin/uno
index fdc456a..8882286 100755
--- a/bin/uno
+++ b/bin/uno
@@ -33,6 +33,10 @@ case "$1" in
check_dirs ACCUMULO_HOME
"$ACCUMULO_HOME"/bin/accumulo shell -u "$ACCUMULO_USER" -p
"$ACCUMULO_PASSWORD" "${@:2}"
;;
+ zk)
+ check_dirs ZOOKEEPER_HOME
+ "$ZOOKEEPER_HOME"/bin/zkCli.sh
+ ;;
env)
"$bin"/impl/print-env.sh "${@:2}"
;;
@@ -85,6 +89,7 @@ case "$1" in
echo " stop <component> Stop Accumulo, Hadoop, ZooKeeper, if
running."
echo " kill Kills all processes"
echo " ashell Runs the Accumulo shell"
+ echo " zk Connects to ZooKeeper CLI"
echo " env Prints out shell configuration for PATH and
common environment variables."
echo " Add '--paths' or '--vars' command to limit
what is printed."
echo " version <dep> Prints out configured version for
dependency"