Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

CHECK ZOOKEEPER fails on install,start and test step

CHECK ZOOKEEPER fails on install,start and test step

New Contributor

Hello,

I am getting error on CHECK ZOOKEEPER step during installation/deployment of my 5 node cluster.

when I proceed further, It shows many services has not started. Although when I start them manually, All services get up.
The problem occurs only once i.e., first time only during installation/deployment of cluster.

NOTE:- I am using zookeeper 3.4.14 version.

here is my stderr on respective node.

Traceback (most recent call last):
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
ExecutionFailed: Execution of '/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' returned 3. zk_node1=ip-172-31-0-250.ca-central-1.compute.internal
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:712)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:792)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:707)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Running test on host ip-172-31-0-250.ca-central-1.compute.internal
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-0-250.ca-central-1.compute.internal
Running test on host ip-172-31-10-235.ca-central-1.compute.internal
Connecting to ip-172-31-10-235.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-235.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-10-235.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-235.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-10-235.ca-central-1.compute.internal
Running test on host ip-172-31-10-8.ca-central-1.compute.internal
Connecting to ip-172-31-10-8.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-8.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-10-8.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-8.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-10-8.ca-central-1.compute.internal
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] delete /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:712)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Zookeeper Smoke Test: Failed

The above exception was the cause of the following exception:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/scripts/service_check.py", line 76, in <module>
    ZookeeperServiceCheck().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZOOKEEPER/package/scripts/service_check.py", line 62, in service_check
    logoutput=True
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
    returns=self.resource.returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/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' returned 3. zk_node1=ip-172-31-0-250.ca-central-1.compute.internal
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:712)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:792)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:707)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Running test on host ip-172-31-0-250.ca-central-1.compute.internal
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-0-250.ca-central-1.compute.internal
Running test on host ip-172-31-10-235.ca-central-1.compute.internal
Connecting to ip-172-31-10-235.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-235.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-10-235.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-235.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-10-235.ca-central-1.compute.internal
Running test on host ip-172-31-10-8.ca-central-1.compute.internal
Connecting to ip-172-31-10-8.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-8.ca-central-1.compute.internal:2181(CONNECTING) 0] get /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Connecting to ip-172-31-10-8.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-10-8.ca-central-1.compute.internal:2181(CONNECTING) 0] ls /
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1541)
	at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1569)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:732)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1221)
	at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1250)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:726)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Data associated with znode /zk_smoketests is not consistent on host ip-172-31-10-8.ca-central-1.compute.internal
Connecting to ip-172-31-0-250.ca-central-1.compute.internal: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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Welcome to ZooKeeper!
JLine support is enabled
[zk: ip-172-31-0-250.ca-central-1.compute.internal:2181(CONNECTING) 0] delete /zk_smoketest
Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /zk_smoketest
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
	at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:712)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:600)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:372)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:332)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:291)
Zookeeper Smoke Test: Failed
Don't have an account?
Coming from Hortonworks? Activate your account here