From 1dca2b68ad062dc8fd13f5501dda7b5b570a74d6 Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Tue, 17 Sep 2013 20:12:10 +0000 Subject: [PATCH] HBASE-9560 bin/hbase clean --cleanAll should not skip data cleaning if in local mode git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1524202 13f79535-47bb-0310-9956-ffa450edef68 --- bin/hbase-cleanup.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bin/hbase-cleanup.sh b/bin/hbase-cleanup.sh index 1c7e0fcd76c..8f1e4b479fc 100755 --- a/bin/hbase-cleanup.sh +++ b/bin/hbase-cleanup.sh @@ -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