Skip to content

Commit

Permalink
HBASE-14325 Add snapshotinfo command to hbase script.
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bertozzi <[email protected]>
  • Loading branch information
asamir authored and Matteo Bertozzi committed Aug 31, 2015
1 parent df341c4 commit 498c184
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/hbase
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 498c184

Please sign in to comment.