hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [4/6] hbase git commit: HBASE-14325 Add snapshotinfo command to hbase script.
Date Mon, 31 Aug 2015 16:27:16 GMT
HBASE-14325 Add snapshotinfo command to hbase script.

Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/12f4c1ac
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/12f4c1ac
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/12f4c1ac

Branch: refs/heads/branch-1.1
Commit: 12f4c1ace67f9b829bcb67420a52119480cf31e9
Parents: 5532af9
Author: Samir Ahmic <samir@personal.com>
Authored: Thu Aug 27 15:38:13 2015 +0200
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Mon Aug 31 09:16:32 2015 -0700

----------------------------------------------------------------------
 bin/hbase | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/12f4c1ac/bin/hbase
----------------------------------------------------------------------
diff --git a/bin/hbase b/bin/hbase
index f0c0c75..7b0d97b 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


Mime
View raw message