From 498c1845ab7b01710955153c27501fdc7492849d Mon Sep 17 00:00:00 2001 From: Samir Ahmic Date: Thu, 27 Aug 2015 15:38:13 +0200 Subject: [PATCH] HBASE-14325 Add snapshotinfo command to hbase script. Signed-off-by: Matteo Bertozzi --- bin/hbase | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/hbase b/bin/hbase index f0c0c75fbdf..7b0d97bb0dc 100755 --- a/bin/hbase +++ b/bin/hbase @@ -83,6 +83,7 @@ if [ $# = 0 ]; then echo " shell Run the HBase shell" echo " hbck Run the hbase 'fsck' tool" echo " snapshot Create a new snapshot of a table" + echo " snapshotinfo Tool for dumping snapshot information" echo " wal Write-ahead-log analyzer" echo " hfile Store file analyzer" echo " zkcli Run the ZooKeeper shell" @@ -307,6 +308,8 @@ elif [ "$COMMAND" = "upgrade" ] ; then CLASS="org.apache.hadoop.hbase.migration.UpgradeTo96" elif [ "$COMMAND" = "snapshot" ] ; then CLASS="org.apache.hadoop.hbase.snapshot.CreateSnapshot" +elif [ "$COMMAND" = "snapshotinfo" ] ; then + CLASS="org.apache.hadoop.hbase.snapshot.SnapshotInfo" elif [ "$COMMAND" = "master" ] ; then CLASS='org.apache.hadoop.hbase.master.HMaster' if [ "$1" != "stop" ] && [ "$1" != "clear" ] ; then