HBASE-3941 'hbase version' command line should print version info
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b22cb0f0e
commit
9a047f1343
|
@ -245,6 +245,8 @@ Release 0.91.0 - Unreleased
|
|||
(Brock Noland)
|
||||
HBASE-3873 Mavenize Hadoop Snappy JAR/SOs project dependencies
|
||||
(Alejandro Abdelnur)
|
||||
HBASE-3941 "hbase version" command line should print version info
|
||||
(Jolly Chen)
|
||||
|
||||
TASKS
|
||||
HBASE-3559 Move report of split to master OFF the heartbeat channel
|
||||
|
|
|
@ -77,6 +77,8 @@ if [ $# = 0 ]; then
|
|||
echo " migrate upgrade an hbase.rootdir"
|
||||
echo " hbck run the hbase 'fsck' tool"
|
||||
echo " classpath dump hbase CLASSPATH"
|
||||
echo " version print the version"
|
||||
|
||||
echo " or"
|
||||
echo " CLASSNAME run the class named CLASSNAME"
|
||||
echo "Most commands print help when invoked w/o parameters."
|
||||
|
@ -259,6 +261,8 @@ elif [ "$COMMAND" = "zkcli" ] ; then
|
|||
elif [ "$COMMAND" = "classpath" ] ; then
|
||||
echo $CLASSPATH
|
||||
exit 0
|
||||
elif [ "$COMMAND" = "version" ] ; then
|
||||
CLASS='org.apache.hadoop.hbase.util.VersionInfo'
|
||||
else
|
||||
CLASS=$COMMAND
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue