Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Saw this error once on Jenkins: https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/3025/testReport/junit/kafka.api/AdminClientIntegrationTest/testAlterReplicaLogDirs/
Stacktrace java.lang.AssertionError: timed out waiting for message produce at kafka.utils.TestUtils$.fail(TestUtils.scala:347) at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:861) at kafka.api.AdminClientIntegrationTest.testAlterReplicaLogDirs(AdminClientIntegrationTest.scala:357) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:844) Standard Output [2017-12-07 19:22:56,297] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:22:59,447] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:22:59,453] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:01,335] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134641238966279' does not match current session '99134641238966277' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:04,695] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:04,760] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:06,764] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134641586700293' does not match current session '99134641586700295' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:09,379] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:09,387] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:11,533] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:11,539] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:13,022] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134642031034375' does not match current session '99134642031034373' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:14,667] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:14,673] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:17,781] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:17,789] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:20,991] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:20,998] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:21,906] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition mytopic-1 from broker 2 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:21,916] ERROR [ReplicaFetcher replicaId=1, leaderId=2, fetcherId=0] Error for partition mytopic2-2 from broker 2 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:21,918] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition mytopic2-1 from broker 0 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:21,918] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition mytopic2-2 from broker 2 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:22,480] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134642650873861' does not match current session '99134642650873863' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:25,101] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:25,113] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:25,927] ERROR [ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition topic-1 from broker 1 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:25,927] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition topic-0 from broker 0 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:23:28,413] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134642920620037' does not match current session '99134642920620039' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:30,224] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:30,230] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:32,936] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134643255967751' does not match current session '99134643255967749' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:35,641] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:35,649] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:43,359] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134643611107333' does not match current session '99134643611107335' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:46,811] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:46,836] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:49,889] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:49,894] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:54,011] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:54,018] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:55,910] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134644814938119' does not match current session '99134644814938117' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:23:59,151] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:23:59,157] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:02,458] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:02,469] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:05,617] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:05,623] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:06,500] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition topic-1 from broker 1 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:24:10,744] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:10,753] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:11,542] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition topic-1 from broker 1 (kafka.server.ReplicaFetcherThread:73) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. [2017-12-07 19:24:12,837] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134645911683077' does not match current session '99134645911683079' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:24:13,893] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:13,900] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472) [2017-12-07 19:24:15,589] ERROR Error while creating ephemeral at /controller, node already exists and owner '99134646117924869' does not match current session '99134646117924871' (kafka.zk.KafkaZkClient$CheckedEphemeral:71) [2017-12-07 19:24:17,002] ERROR ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes (org.apache.zookeeper.server.ZooKeeperServer:472)
Attachments
Issue Links
- is cloned by
-
KAFKA-9263 The new hw is added to incorrect log when ReplicaAlterLogDirsThread is replacing log (fix PlaintextAdminIntegrationTest.testAlterReplicaLogDirs)
- Resolved
- links to