hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r999060 - in /hbase/trunk: CHANGES.txt bin/hbase
Date Mon, 20 Sep 2010 19:13:43 GMT
Author: stack
Date: Mon Sep 20 19:13:43 2010
New Revision: 999060

URL: http://svn.apache.org/viewvc?rev=999060&view=rev
Log:
HBASE-3000 Add "hbase classpath" command to dump classpath

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/bin/hbase

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=999060&r1=999059&r2=999060&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Mon Sep 20 19:13:43 2010
@@ -967,6 +967,7 @@ Release 0.21.0 - Unreleased
    HBASE-2862  Name DFSClient for Improved Debugging
                (Nicolas Spiegelberg via Stack)
    HBASE-2838  Replication metrics
+   HBASE-3000  Add "hbase classpath" command to dump classpath
 
   OPTIMIZATIONS
    HBASE-410   [testing] Speed up the test suite

Modified: hbase/trunk/bin/hbase
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hbase?rev=999060&r1=999059&r2=999060&view=diff
==============================================================================
--- hbase/trunk/bin/hbase (original)
+++ hbase/trunk/bin/hbase Mon Sep 20 19:13:43 2010
@@ -76,6 +76,7 @@ if [ $# = 0 ]; then
   echo "  avro             run an HBase Avro server" 
   echo "  migrate          upgrade an hbase.rootdir"
   echo "  hbck             run the hbase 'fsck' tool"
+  echo "  classpath        dumps hbase CLASSPATH"
   echo " or"
   echo "  CLASSNAME        run the class named CLASSNAME"
   echo "Most commands print help when invoked w/o parameters."
@@ -262,6 +263,9 @@ elif [ "$COMMAND" = "zookeeper" ] ; then
   fi
 elif [ "$COMMAND" = "zkcli" ] ; then
   CLASS='org.apache.zookeeper.ZooKeeperMain'
+elif [ "$COMMAND" = "classpath" ] ; then
+  echo $CLASSPATH
+  exit 0
 else
   CLASS=$COMMAND
 fi



Mime
View raw message