2017-02-12 28 views
1

following is the error, i'm getting when creating the table. ERROR: Can't get master address from ZooKeeper; znode data == null (Image)無法從ZooKeeper獲取主地址。我在創建Hbase表上出現這個錯誤

以下是我在創建表時遇到的錯誤。 錯誤:無法從ZooKeeper獲取主地址; Z序節點的數據== NULL

services running (Image)

以下是HBase的-site.xml的配置 -

<configuration> 
 
<property> 
 
    <name>hbase.cluster.distributed</name> 
 
    <value>true</value> 
 
</property> 
 

 
<property> 
 
<name>hbase.rootdir</name> 
 
<value>hdfs://127.0.0.1:8020/hadoop/supported/hbaseData</value> 
 
    </property> 
 
    
 
    <property> 
 
    <name>hbase.zookeeper.property.clientPort</name> 
 
    <value>2181</value> 
 
    <description>Property from ZooKeeper's config zoo.cfg. 
 
       The port at which the clients will connect.</description> 
 
</property> 
 

 
</configuration>

回答

0

可能會有一些錯誤hbase.zookeeper.quorum。您可以嘗試如下所示。

<property> 
    <name>hbase.zookeeper.quorum</name> 
    <!__<value>localhost</value> NOT OK!--> 
    <!--<value>127.0.0.1</value> NOT OK!--> 
    <!--<value>192.168.31.66</value> OK!--> 
    <value>zss</value> 
</property> 

和zss是我的MAC的主機名!

相關問題