<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ZOOKEEPER CHECK FAILED in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ZOOKEEPER-CHECK-FAILED/m-p/242436#M204237</link>
    <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thats the output of &lt;STRONG&gt;ps -ef | grep -i zookeeper&lt;/STRONG&gt; from master.rh.bigdata.cluster :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;root@RHBigData1:~# ps -ef | grep -i zookeeper
root &amp;nbsp; &amp;nbsp; 11171 11148 &amp;nbsp;0 09:58 pts/0 &amp;nbsp; &amp;nbsp;00:00:00 grep --color=auto -i zookeeper
zookeep+ 17902 &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;0 Jun13 ? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:04:15 /usr/jdk64/jdk1.8.0_112/bin/java -Dzookeeper.log.dir=/var/log/zookeeper -Dzookeeper.log.file=zookeeper-zookeeper-server-RHBigData1.log -Dzookeeper.root.logger=INFO,ROLLINGFILE -cp /usr/hdp/current/zookeeper-server/bin/../build/classes:/usr/hdp/current/zookeeper-server/bin/../build/lib/*.jar:/usr/hdp/current/zookeeper-server/bin/../lib/slf4j-log4j12-1.6.1.jar:/usr/hdp/current/zookeeper-server/bin/../lib/slf4j-api-1.6.1.jar:/usr/hdp/current/zookeeper-server/bin/../lib/netty-3.10.5.Final.jar:/usr/hdp/current/zookeeper-server/bin/../lib/log4j-1.2.16.jar:/usr/hdp/current/zookeeper-server/bin/../lib/jline-0.9.94.jar:/usr/hdp/current/zookeeper-server/bin/../zookeeper-3.4.6.3.1.0.0-78.jar:/usr/hdp/current/zookeeper-server/bin/../src/java/lib/*.jar:/usr/hdp/current/zookeeper-server/conf::/usr/share/zookeeper/*:/usr/share/zookeeper/* -Xmx1024m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false org.apache.zookeeper.server.quorum.QuorumPeerMain /usr/hdp/current/zookeeper-server/conf/zoo.cfg&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thats the output of  &lt;STRONG&gt;root@RHBigData1:~# netstat -tnlpa | grep 2181&lt;/STRONG&gt; from master.rh.bigdata.cluster :&lt;/P&gt;&lt;PRE&gt;root@RHBigData1:~# netstat -tnlpa | grep 2181
tcp6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 :::2181 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :::* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LISTEN &amp;nbsp; &amp;nbsp; &amp;nbsp;17902/java
tcp6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 172.16.138.156:2181 &amp;nbsp; &amp;nbsp; 172.16.138.156:59142 &amp;nbsp; &amp;nbsp;TIME_WAIT &amp;nbsp; -&lt;/PRE&gt;&lt;P&gt;i cant understand why the service iptable is not loaded : &lt;/P&gt;&lt;PRE&gt;root@RHBigData1:~# service iptables stop
Failed to stop iptables.service: Unit iptables.service not loaded.&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;from another host "node4" which is my cluster master :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;root@node4:~# telnet &amp;nbsp;master.rh.bigdata.cluster &amp;nbsp;2181
Trying 172.16.138.156...
Connected to master.rh.bigdata.cluster.
Escape character is '^]'.


Connection closed by foreign host.&lt;/PRE&gt;&lt;PRE&gt;but when i try the manuel test, it still not working ! same error !
root@node4:~# /var/lib/ambari-agent/tmp/zkSmoke.sh /usr/hdp/current/zookeeper-client/bin/zkCli.sh ambari-qa /usr/hdp/current/zookeeper-client/conf 2181 False kinit no_keytab no_principal /var/lib/ambari-agent/tmp/zkSmoke.out
zk_node1=master.rh.bigdata.cluster
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:708)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:596)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:368)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:328)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:287)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:703)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:596)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:368)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:328)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:287)
Running test on host master.rh.bigdata.cluster
Connecting to master.rh.bigdata.cluster:2181
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: master.rh.bigdata.cluster:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1184)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:722)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:596)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:368)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:328)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:287)
Connecting to master.rh.bigdata.cluster:2181
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 15:18:06 GMT</pubDate>
    <dc:creator>adil_bakkouri_g</dc:creator>
    <dc:date>2019-06-14T15:18:06Z</dc:date>
  </channel>
</rss>

