zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KANNAN VARADHAN <kan...@ieee.org>
Subject Re: compilation fails on centos 7
Date Thu, 23 Jan 2020 23:51:58 GMT
Hi:

I am trying to fix (or understand, hence how to fix) this compile error with zookeeper, v3.5.6,
and am seeing failures.
Specifically, mvn test fails in some very specific tests.  I am not sure that it has anything
to do directly with centos, per se.

The environment:

[➜  apache-zookeeper-3.5.6 ]  uname -snr
Linux a5s1 5.4.13-1.el7.elrepo.x86_64
[➜  apache-zookeeper-3.5.6 ]
[➜  apache-zookeeper-3.5.6 ]  java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
[➜  apache-zookeeper-3.5.6 ]
[➜  apache-zookeeper-3.5.6 ]  cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/ <https://www.centos.org/>"
BUG_REPORT_URL="https://bugs.centos.org/ <https://bugs.centos.org/>"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[➜  apache-zookeeper-3.5.6 ]


The errors are in three tests and the pattern appears to be:
[ERROR] Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 20.583 s <<<
FAILURE! - in org.apache.zookeeper.server.ZooKeeperServerMainTest
java.lang.AssertionError: waiting for server being up at org.apache.zookeeper.server.ZooKeeperServerMainTest.testReadOnlySnapshotDir(ZooKeeperServerMainTest.java:234)
java.lang.AssertionError: waiting for server being up at org.apache.zookeeper.server.ZooKeeperServerMainTest.testReadOnlyTxnLogDir(ZooKeeperServerMainTest.java:273)

[ERROR] Tests run: 107, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 295.05 s <<<
FAILURE! - in org.apache.zookeeper.test.NettyNettySuiteTest
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.AsyncOpsTest.setUp(AsyncOpsTest.java:48)
java.lang.NullPointerException at org.apache.zookeeper.test.AsyncOpsTest.tearDown(AsyncOpsTest.java:59)
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.AsyncOpsTest.setUp(AsyncOpsTest.java:48)
java.lang.NullPointerException at org.apache.zookeeper.test.AsyncOpsTest.tearDown(AsyncOpsTest.java:59)
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange(ReconfigTest.java:815)
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.ReconfigTest.testBulkReconfig(ReconfigTest.java:437)

[ERROR] Tests run: 105, Failures: 10, Errors: 2, Skipped: 0, Time elapsed: 397.298 s <<<
FAILURE! - in org.apache.zookeeper.test.NioNettySuiteTest
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange(ReconfigTest.java:815)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testPortChange(ReconfigTest.java:589)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testPortChangeToBlockedPort(ReconfigTest.java:720)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testInitialConfigHasPositiveVersion(ReconfigTest.java:890)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testRemoveAddOne(ReconfigTest.java:259)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testRemoveAddTwo(ReconfigTest.java:339)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testPortChangeToBlockedPort(ReconfigTest.java:720)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testJMXBeanAfterRemoveAddOne(ReconfigTest.java:909)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testRoleChange(ReconfigTest.java:513)
java.io.IOException: Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
at org.apache.zookeeper.test.ReconfigTest.testBulkReconfig(ReconfigTest.java:437)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testJMXBeanAfterRoleChange(ReconfigTest.java:986)
java.lang.AssertionError: waiting for server up at org.apache.zookeeper.test.ReconfigTest.testRemoveOneAsynchronous(ReconfigTest.java:474)

I have attached some of the mvn logs, but I am at a loss on how to proceed.  Is there a specific
version of java and zookeeper I should be using?
Something else I should look at?

Thanks,

Kannan

Mime
View raw message