赞
踩
日志报错:
localhost: running zookeeper, logging to /usr/local/hbase/bin/../logs/hbase-zhang-zookeeper-Daner.out
localhost: java.io.IOException: Unable to create data dir /hbase/tmp/zookeeper
localhost: at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.writeMyID(HQuorumPeer.java:157)
localhost: at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:69)
通过日至发现创建文件夹不成功。
经搜寻配配置方法解决,解决方法:
在/hbase/conf/hbase-site.xml中添加zookeeper的路径。
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/wxl/zookeeper</value>
</property>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。