HBASE-3000 Add "hbase classpath" command to dump classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3856ca945
commit
98b9448162
|
@ -967,6 +967,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2862 Name DFSClient for Improved Debugging
|
||||
(Nicolas Spiegelberg via Stack)
|
||||
HBASE-2838 Replication metrics
|
||||
HBASE-3000 Add "hbase classpath" command to dump classpath
|
||||
|
||||
OPTIMIZATIONS
|
||||
HBASE-410 [testing] Speed up the test suite
|
||||
|
|
|
@ -76,6 +76,7 @@ if [ $# = 0 ]; then
|
|||
echo " avro run an HBase Avro server"
|
||||
echo " migrate upgrade an hbase.rootdir"
|
||||
echo " hbck run the hbase 'fsck' tool"
|
||||
echo " classpath dumps hbase CLASSPATH"
|
||||
echo " or"
|
||||
echo " CLASSNAME run the class named CLASSNAME"
|
||||
echo "Most commands print help when invoked w/o parameters."
|
||||
|
@ -262,6 +263,9 @@ elif [ "$COMMAND" = "zookeeper" ] ; then
|
|||
fi
|
||||
elif [ "$COMMAND" = "zkcli" ] ; then
|
||||
CLASS='org.apache.zookeeper.ZooKeeperMain'
|
||||
elif [ "$COMMAND" = "classpath" ] ; then
|
||||
echo $CLASSPATH
|
||||
exit 0
|
||||
else
|
||||
CLASS=$COMMAND
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue