CHECK ZOOKEEPER在安装,启动和测试步骤上失败

时间:2020-08-23 18:03:38

标签: apache-zookeeper ambari

在进行Zookeeper烟雾测试时,使用ambari安装/部署5节点群集时,在CHECK ZOOKEEPER步骤上出现错误。

当我继续进行时,它表明许多服务尚未启动。虽然当我手动启动它们时,所有服务都会启动。 该问题仅发生一次,即仅在群集的安装/部署期间才发生。

注意:-我正在使用Zookeeper 3.4.14版本。

这是我的简短stderrstdout

这是stderr摘要

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.
.
.
.
.
.
.
.
.
.
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

0 个答案:

没有答案