我有三个安装了hbase的系统,
starting master, logging to /usr/local/hbase/logs/hbase-saichanda-master-saichanda-OptiPlex-9020.out
slave1: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-lakshman.out
slave1: /usr/local/hbase/bin/hbase-daemon.sh: line 189: /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-lakshman.out: Permission denied
master: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-saichanda-OptiPlex-9020.out
slave2: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-hash1.out
slave2: /usr/local/hbase/bin/hbase-daemon.sh: line 189: /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-hash1.out: Permission denied
slave1: head: cannot open '/usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-lakshman.out' for reading: No such file or directory
slave2: head: cannot open '/usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-hash1.out' for reading: No such file or directory
如何解决此错误?
我有三个节点,分别是用户名saichanda,ip地址,10.0.3.18(主服务器),10.0.3.68(从服务器1),10.0.3.70(从服务器2)和
的内容
hbase-site.xml如下:在(主)中
<configuration>
<property>
<name>hbase.master</name>
<value>master:60000</value>
</property>
<property>
<name>hbase.rootdir</name>
<value>hdfs://master:50000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>master</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
</configuration>