Can't get HBase Stand-alone mode to start -
i going through hbase quickstart guide (http://hbase.apache.org/book/quickstart.html), , running lots of problems getting through first step.
i using mint linux 13 under virtualbox win7 host.
i downloaded hbase 0.94.6.1, unzipped file on home path, configured loopback address. fine writing /tmp testing purposes, did not modify /conf/hbase-site.xml.
start-hbase.sh: 45: [: false: unexpected operator localhost: starting zookeeper, logging /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-zookeeper-test-hadoop.out starting master, logging /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-master-test-hadoop.out not start zk @ requested port of 2181. zk started @ port: 2182. aborting clients (e.g. shell) not able find zk quorum. localhost: starting regionserver, logging /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-regionserver-test-hadoop.out
if type ./bin/hbase shell, , enter status, here's get.
13/04/05 01:47:06 error client.hconnectionmanager$hconnectionimplementation: check value configured in 'zookeeper.znode.parent'. there mismatch 1 configured in master.
java_home configured.
askldjd@test-hadoop ~ $ echo $java_home /usr/lib/jvm/java-6-openjdk-amd64/
i think missing basic here. appreciated.
thanks
... alan
the unexpected operator
message indicates might have same problem had:
did run sudo sh start-hbase.sh
? instead, try sudo ./start-hbase.sh
.
i don't know why, sh
seems not able interpret square brackets. more details on difference: https://askubuntu.com/questions/22910/what-is-the-difference-between-and-sh-to-run-a-script
Comments
Post a Comment