diff --git a/bin/hbase b/bin/hbase index 0e31487..61bedc3 100755 --- a/bin/hbase +++ b/bin/hbase @@ -68,32 +68,29 @@ fi # if no args specified, show usage if [ $# = 0 ]; then - echo "Usage: hbase [options] []" + echo "Usage: hbase [] []" echo "Options:" - echo " config Configuration directory to use; default: ./conf" - echo " e.g: $ hbase --config alternate_conf shell" - echo " hosts Where to run ; default: ./conf/regionservers" + echo " --config DIR Configuration direction to use. Default: ./conf" + echo " --hosts HOSTS Override the list in ''regionservers' file" echo "" echo "Commands:" - echo "" - echo " shell Run the HBase shell" - echo " hbck Run the hbase 'fsck' tool" - echo " hlog Write-ahead-log analyzer" - echo " hfile Store file analyzer" - echo " zkcli Run the ZooKeeper shell" - echo " upgrade Upgrade hbase" - echo " master Run an HBase HMaster node" - echo " regionserver Run an HBase HRegionServer node" - echo " zookeeper Run a Zookeeper server" - echo " rest Run an HBase REST server" - echo " thrift Run the HBase Thrift server" - echo " thrift2 Run the HBase Thrift2 server" - echo " clean Run the HBase clean up script" - echo " classpath Dump hbase CLASSPATH" - echo " version Print the version" - echo " CLASSNAME Run the class named CLASSNAME" - echo "" - echo "Most commands print help when invoked w/o parameters." + echo "Some commands take arguments. Pass no args or -h for usage." + echo " shell Run the HBase shell" + echo " hbck Run the hbase 'fsck' tool" + echo " hlog Write-ahead-log analyzer" + echo " hfile Store file analyzer" + echo " zkcli Run the ZooKeeper shell" + echo " upgrade Upgrade hbase" + echo " master Run an HBase HMaster node" + echo " regionserver Run an HBase HRegionServer node" + echo " zookeeper Run a Zookeeper server" + echo " rest Run an HBase REST server" + echo " thrift Run the HBase Thrift server" + echo " thrift2 Run the HBase Thrift2 server" + echo " clean Run the HBase clean up script" + echo " classpath Dump hbase CLASSPATH" + echo " version Print the version" + echo " CLASSNAME Run the class named CLASSNAME" exit 1 fi