You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2013/09/17 22:12:27 UTC
svn commit: r1524205 - /hbase/branches/0.96/bin/hbase-cleanup.sh
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