diff --git a/bin/rolling-restart.sh b/bin/rolling-restart.sh index 8934e55c277..81a837d7480 100644 --- a/bin/rolling-restart.sh +++ b/bin/rolling-restart.sh @@ -49,7 +49,7 @@ then fi # quick function to get a value from the HBase config file -distMode=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'false' ]; then "$bin"/hbase-daemon.sh restart master else @@ -59,9 +59,9 @@ else --hosts "${HBASE_BACKUP_MASTERS}" stop master-backup # make sure the master znode has been deleted before continuing - zparent=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool zookeeper.znode.parent` + zparent=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.parent` if [ "$zparent" == "null" ]; then zparent="/hbase"; fi - zmaster=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool zookeeper.znode.master` + zmaster=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.master` if [ "$zmaster" == "null" ]; then zmaster="master"; fi zmaster=$zparent/$zmaster echo -n "Waiting for Master ZNode to expire" @@ -134,7 +134,7 @@ then fi # quick function to get a value from the HBase config file -distMode=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'false' ]; then "$bin"/hbase-daemon.sh restart master else @@ -144,9 +144,9 @@ else --hosts "${HBASE_BACKUP_MASTERS}" stop master-backup # make sure the master znode has been deleted before continuing - zparent=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool zookeeper.znode.parent` + zparent=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.parent` if [ "$zparent" == "null" ]; then zparent="/hbase"; fi - zmaster=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool zookeeper.znode.master` + zmaster=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool zookeeper.znode.master` if [ "$zmaster" == "null" ]; then zmaster="master"; fi zmaster=$zparent/$zmaster echo -n "Waiting for Master ZNode to expire" diff --git a/bin/start-hbase.sh b/bin/start-hbase.sh index f413cb07dcc..15e952e91e7 100755 --- a/bin/start-hbase.sh +++ b/bin/start-hbase.sh @@ -38,7 +38,7 @@ then exit $errCode fi -distMode=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'false' ] diff --git a/bin/stop-hbase.sh b/bin/stop-hbase.sh index b6d7c885179..4d9220b3a20 100755 --- a/bin/stop-hbase.sh +++ b/bin/stop-hbase.sh @@ -57,7 +57,7 @@ while kill -0 `cat $pid` > /dev/null 2>&1; do done # distributed == false means that the HMaster will kill ZK when it exits -distMode=`$bin/hbase org.apache.hadoop.hbase.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'true' ] then # TODO: store backup masters in ZooKeeper and have the primary send them a shutdown message diff --git a/conf/hbase-site.xml b/conf/hbase-site.xml index c39db3e5619..af4c3009521 100644 --- a/conf/hbase-site.xml +++ b/conf/hbase-site.xml @@ -2,7 +2,7 @@ - - - - - hbase.cluster.distributed - true - For psuedo-distributed, you want to set this to true. - false means that HBase tries to put Master + RegionServers in one process. - Pseudo-distributed = seperate processes/pids - - hbase.regionserver.hlog.replication - 1 - For HBase to offer good data durability, we roll logs if - filesystem replication falls below a certain amount. In psuedo-distributed - mode, you normally only have the local filesystem or 1 HDFS DataNode, so you - don't want to roll logs constantly. - - - hbase.tmp.dir - /tmp/hbase-testing - Temporary directory on the local filesystem. - - - - - - - - diff --git a/pom.xml b/pom.xml index 2d3d75a51c2..7686d7cdb08 100644 --- a/pom.xml +++ b/pom.xml @@ -782,11 +782,11 @@ org.apache.hadoop hadoop-test - - com.google.guava - guava - ${guava.version} - + + com.google.guava + guava + ${guava.version} +