[ https://issues.apache.org/jira/browse/KAFKA-5180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008940#comment-16008940 ]
ASF GitHub Bot commented on KAFKA-5180: --------------------------------------- GitHub user onurkaraman opened a pull request: https://github.com/apache/kafka/pull/3038 KAFKA-5180: fix transient failure in ControllerIntegrationTest.testControllerMoveIncrementsControllerEpoch The tests previously ignored the fact that the controller does not atomically create the /controller znode and create/increment the /controller_epoch znode. You can merge this pull request into a Git repository by running: $ git pull https://github.com/onurkaraman/kafka KAFKA-5180 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3038.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3038 ---- commit 83b471f9b1bd4e4532f280cc83cb3aef67ce51e8 Author: Onur Karaman <okara...@linkedin.com> Date: 2017-05-12T23:51:41Z KAFKA-5180: fix transient failure in ControllerIntegrationTest.testControllerMoveIncrementsControllerEpoch The tests previously ignored the fact that the controller does not atomically create the /controller znode and create/increment the /controller_epoch znode. ---- > Transient failure: > ControllerIntegrationTest.testControllerMoveIncrementsControllerEpoch > ---------------------------------------------------------------------------------------- > > Key: KAFKA-5180 > URL: https://issues.apache.org/jira/browse/KAFKA-5180 > Project: Kafka > Issue Type: Sub-task > Reporter: Ismael Juma > Assignee: Onur Karaman > > {code} > Stacktrace org.I0Itec.zkclient.exception.ZkNoNodeException: > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > NoNode for /controller_epoch at > org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:47) > at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:1001) > at org.I0Itec.zkclient.ZkClient.readData(ZkClient.java:1100) at > org.I0Itec.zkclient.ZkClient.readData(ZkClient.java:1095) at > kafka.utils.ZkUtils.readData(ZkUtils.scala:652) at > kafka.controller.ControllerIntegrationTest.$anonfun$testControllerMoveIncrementsControllerEpoch$2(ControllerIntegrationTest.scala:68) > at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:808) at > kafka.controller.ControllerIntegrationTest.testControllerMoveIncrementsControllerEpoch(ControllerIntegrationTest.scala:68) > {code} > cc [~onurkaraman] > https://builds.apache.org/blue/organizations/jenkins/kafka-trunk-jdk8/detail/kafka-trunk-jdk8/1487/tests -- This message was sent by Atlassian JIRA (v6.3.15#6346)