hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1524205 - /hbase/branches/0.96/bin/hbase-cleanup.sh
Date Tue, 17 Sep 2013 20:12:27 GMT
Author: enis
Date: Tue Sep 17 20:12:27 2013
New Revision: 1524205

URL: http://svn.apache.org/r1524205
Log:
HBASE-9560 bin/hbase clean --cleanAll should not skip data cleaning if in local mode

Modified:
    hbase/branches/0.96/bin/hbase-cleanup.sh

Modified: hbase/branches/0.96/bin/hbase-cleanup.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/bin/hbase-cleanup.sh?rev=1524205&r1=1524204&r2=1524205&view=diff
==============================================================================
--- hbase/branches/0.96/bin/hbase-cleanup.sh (original)
+++ hbase/branches/0.96/bin/hbase-cleanup.sh Tue Sep 17 20:12:27 2013
@@ -51,13 +51,6 @@ fi
 
 format_option=$1;
 
-distMode=`$bin/hbase --config ${HBASE_CONF_DIR} org.apache.hadoop.hbase.util.HBaseConfTool
hbase.cluster.distributed | head -n 1`
-
-if [ "$distMode" == 'false' ];then
-  echo "Skipping hbase data clearing in standalone mode." 2>&1
-  exit 1;
-fi
-
 zparent=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.parent`
 if [ "$zparent" == "null" ]; then zparent="/hbase"; fi
 



Mime
View raw message