AnsweredAssumed Answered

HBase Region Server cannot find Zookeeper

Question asked by anthony_alteom on Sep 1, 2014
Latest reply on Sep 1, 2014 by anthony_alteom
Hi,

I updated my cluster using yum and after rebooting all nodes, the HBase Region server cannot connect to zookeeper.
I ran the configure.sh with -Z option, here the hbase-site.xml

      <property>
    <name>hbase.zookeeper.quorum</name>
    <value>node003,node004,node005</value>
      </property>
    
      <property>
    <name>hbase.zookeeper.property.clientPort</name>
    <value>5181</value>
      </property>

Which is correct for my cluster, but in the logs files I always got this warning :

    2014-09-02 10:48:49,339 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/0:0:0:0:0:0:0:1:5181. Will attempt to SASL-authenticate using Login Context section 'Client_simple'
    2014-09-02 10:48:49,339 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
    java.net.ConnectException: Connection refused
            at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
            at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
            at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
            at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1070)

HBase region server still trying to connect to a local zookeeper.

Node with Hbase region server :

    # rpm -qa|grep mapr
    mapr-metrics-3.1.0.23703.GA-1.x86_64
    mapr-fileserver-3.1.0.23703.GA-1.x86_64
    mapr-hbase-0.94.21.26758.GA-1.noarch
    mapr-core-3.1.0.23703.GA-1.x86_64
    mapr-webserver-3.1.0.23703.GA-1.x86_64
    mapr-hbase-regionserver-0.94.21.26758.GA-1.noarch
    mapr-tasktracker-3.1.0.23703.GA-1.x86_64
    mapr-jobtracker-3.1.0.23703.GA-1.x86_64
    mapr-nfs-3.1.0.23703.GA-1.x86_64

Node with Zookeeper :

    # rpm -qa|grep mapr
    mapr-webserver-3.1.0.23703.GA-1.x86_64
    mapr-zk-internal-3.1.0.23703.GA.v3.4.5-1.x86_64
    mapr-fileserver-3.1.0.23703.GA-1.x86_64
    mapr-nfs-3.1.0.23703.GA-1.x86_64
    mapr-core-3.1.0.23703.GA-1.x86_64
    mapr-tasktracker-3.1.0.23703.GA-1.x86_64
    mapr-zookeeper-3.1.0.23703.GA-1.x86_64
    mapr-metrics-3.1.0.23703.GA-1.x86_64

Outcomes