HBase List Command error: Zookeeper exists failed after 4 attempts
$telnet h0082161 2181
Connected to 172.16.82.161.
Escape character is ' ^] '.
Telnet connect by close foreign. Now found that Telnet h0082161 other ports are normal, other machine telnet h0082161 2181 Normal, at this time into a misunderstanding, has been around the Telnet service view, view/etc /xinted.conf, no exception, start xinted service still fail. Firewall all shut down, still failure rational analysis, zookeeper service is normal, the native Telnet service is also normal. Now look at the zookeeper (tail-f/usr/server/hbase/logs/hbase-hadoop-zookeeper-h0082161.log) log in Hmaster, surprise appears: The log shows that the number of zookeeper connections from this machine exceeds the limit of 300! View the number of zookeeper connections to the machine, NETSTAT-ANLTP |grep 161:2181 |wc-l Indeed greater than 300, view connections from JobServer, resolved: After restarting JobServer release connection, hbase Shell uses recovery positive Often. Lesson: Troubleshoot port connectivity issues, and you cannot use the Telnet command to determine the lookup log. Often surprises are found, from the application to the reason that the network connection is not limited to system reasons.
Note HBase List command error zookeeper connection failed