我正在通过HBase快速入门指南(http://hbase.apache.org/book/quickstart.html),并且我遇到了很多通过第一步的问题。无法获取HBase独立模式启动
我在VirtualBox下使用Mint Linux 13作为主机。
我下载了hbase 0.94.6.1,将文件解压到我的主路径上,配置了环回地址。为了测试目的,我写了/ tmp并没有问题,所以我没有修改/conf/hbase-site.xml。
start-hbase.sh: 45: [: false: unexpected operator
localhost: starting zookeeper, logging to /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-zookeeper-test-hadoop.out
starting master, logging to /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-master-test-hadoop.out
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
localhost: starting regionserver, logging to /home/askldjd/hbase-0.94.6.1/bin/../logs/hbase-askldjd-regionserver-test-hadoop.out
如果我输入./bin/hbase shell,并输入状态,这是我得到的。
13/04/05 01:47:06 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
JAVA_HOME已配置。
[email protected] ~ $ echo $JAVA_HOME
/usr/lib/jvm/java-6-openjdk-amd64/
我想我在这里错过了一些非常基本的东西。任何帮助将不胜感激。
感谢
...艾伦
您必须更新hbase-site .xml并在其中添加hbase.root.dir路径 – 2013-04-05 06:41:33
我已按照快速入门指南完成此操作。同样的结果。 – askldjd 2013-04-05 12:29:20