我正在阅读 HBase 快速入门指南 ( http://hbase.apache.org/book/quickstart.html ),并且在完成第一步时遇到了很多问题。
我在以 Win7 作为主机的 VirtualBox 下使用 Mint Linux 13。
我下载了hbase 0.94.6.1,在我的home路径上解压文件,配置回环地址。出于测试目的,我可以写入 /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 已配置。
askldjd@test-hadoop ~ $ echo $JAVA_HOME
/usr/lib/jvm/java-6-openjdk-amd64/
我想我在这里遗漏了一些非常基本的东西。任何帮助将不胜感激。
谢谢
...艾伦