You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/04/17 09:57:00 UTC

[jira] [Created] (FLINK-12224) Kafka 0.10 e2e test fails on Java 9

Chesnay Schepler created FLINK-12224:
----------------------------------------

             Summary: Kafka 0.10 e2e test fails on Java 9
                 Key: FLINK-12224
                 URL: https://issues.apache.org/jira/browse/FLINK-12224
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / Kafka, Tests
    Affects Versions: 1.9.0
            Reporter: Chesnay Schepler
             Fix For: 1.9.0


https://travis-ci.org/zentol/flink/jobs/519154949
{code}
java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
Exception in thread "main" org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server 'localhost:2181' with timeout of 30000 ms
	at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1233)
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:157)
	at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:131)
	at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:79)
	at kafka.utils.ZkUtils$.apply(ZkUtils.scala:61)
	at kafka.admin.TopicCommand$.main(TopicCommand.scala:53)
	at kafka.admin.TopicCommand.main(TopicCommand.scala)
No kafka server to stop
{code}

Could be that the bundled zk version doesn't work with java 9 at all or needs extra configuration to make it work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)