hbase-commits mailing list archives

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

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

Modified:
    hbase/trunk/bin/hbase-cleanup.sh

Modified: hbase/trunk/bin/hbase-cleanup.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hbase-cleanup.sh?rev=1524202&r1=1524201&r2=1524202&view=diff
==============================================================================
--- hbase/trunk/bin/hbase-cleanup.sh (original)
+++ hbase/trunk/bin/hbase-cleanup.sh Tue Sep 17 20:12:10 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