hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1521579 - /hbase/trunk/bin/hbase.cmd
Date Tue, 10 Sep 2013 18:36:36 GMT
Author: enis
Date: Tue Sep 10 18:36:35 2013
New Revision: 1521579

URL: http://svn.apache.org/r1521579
Log:
HBASE-9483 [WINDOWS] Allow running upgrade tool from hbase.cmd

Modified:
    hbase/trunk/bin/hbase.cmd

Modified: hbase/trunk/bin/hbase.cmd
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hbase.cmd?rev=1521579&r1=1521578&r2=1521579&view=diff
==============================================================================
--- hbase/trunk/bin/hbase.cmd (original)
+++ hbase/trunk/bin/hbase.cmd Tue Sep 10 18:36:35 2013
@@ -202,7 +202,7 @@ goto :MakeCmdArgsLoop 
 set hbase-command-arguments=%_hbasearguments%
 
 @rem figure out which class to run
-set corecommands=shell master regionserver thrift thrift2 rest avro hlog hbck hfile zookeeper
zkcli
+set corecommands=shell master regionserver thrift thrift2 rest avro hlog hbck hfile zookeeper
zkcli upgrade
 for %%i in ( %corecommands% ) do (
   if "%hbase-command%"=="%%i" set corecommand=true
 )
@@ -376,6 +376,10 @@ goto :eof
   set CLASS=org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServer
   goto :eof
 
+:upgrade
+  set CLASS=org.apache.hadoop.hbase.migration.UpgradeTo96
+  goto :eof
+
 :makeServiceXml
   set arguments=%*
   @echo ^<service^>



Mime
View raw message