Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-5227

SaslScramSslEndToEndAuthorizationTest.testNoConsumeWithoutDescribeAclViaSubscribe

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None
    • None

    Description

      Error Message

      java.lang.SecurityException: zookeeper.set.acl is true, but the verification of the JAAS login file failed.
      

      Stacktrace

      java.lang.SecurityException: zookeeper.set.acl is true, but the verification of the JAAS login file failed.
      	at kafka.server.KafkaServer.initZk(KafkaServer.scala:322)
      	at kafka.server.KafkaServer.startup(KafkaServer.scala:190)
      	at kafka.utils.TestUtils$.createServer(TestUtils.scala:126)
      	at kafka.integration.KafkaServerTestHarness$$anonfun$setUp$1.apply(KafkaServerTestHarness.scala:91)
      	at kafka.integration.KafkaServerTestHarness$$anonfun$setUp$1.apply(KafkaServerTestHarness.scala:91)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      	at scala.collection.Iterator$class.foreach(Iterator.scala:891)
      	at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
      	at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      	at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
      	at kafka.integration.KafkaServerTestHarness.setUp(KafkaServerTestHarness.scala:91)
      	at kafka.api.IntegrationTestHarness.setUp(IntegrationTestHarness.scala:64)
      	at kafka.api.EndToEndAuthorizationTest.setUp(EndToEndAuthorizationTest.scala:158)
      	at kafka.api.SaslEndToEndAuthorizationTest.setUp(SaslEndToEndAuthorizationTest.scala:47)
      	at kafka.api.SaslScramSslEndToEndAuthorizationTest.setUp(SaslScramSslEndToEndAuthorizationTest.scala:43)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	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.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
      	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:147)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:129)
      	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
      	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      Standard Output

      [2017-05-12 19:25:38,980] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:25:39,831] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:25:39,832] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:25:40,657] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:25:42,035] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:43,273] 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-05-12 19:25:43,279] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:43,284] 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-05-12 19:25:43,285] WARN SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/tmp/kafka5182257371953172837.tmp'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn:1014)
      [2017-05-12 19:25:43,522] WARN SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/tmp/kafka5182257371953172837.tmp'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn:1014)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      [2017-05-12 19:25:43,543] WARN SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/tmp/kafka5182257371953172837.tmp'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn:1014)
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      [2017-05-12 19:25:43,574] WARN SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/tmp/kafka5182257371953172837.tmp'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn:1014)
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:25:43,655] FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer:118)
      java.lang.SecurityException: zookeeper.set.acl is true, but the verification of the JAAS login file failed.
      	at kafka.server.KafkaServer.initZk(KafkaServer.scala:322)
      	at kafka.server.KafkaServer.startup(KafkaServer.scala:190)
      	at kafka.utils.TestUtils$.createServer(TestUtils.scala:126)
      	at kafka.integration.KafkaServerTestHarness$$anonfun$setUp$1.apply(KafkaServerTestHarness.scala:91)
      	at kafka.integration.KafkaServerTestHarness$$anonfun$setUp$1.apply(KafkaServerTestHarness.scala:91)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      	at scala.collection.Iterator$class.foreach(Iterator.scala:891)
      	at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
      	at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      	at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
      	at kafka.integration.KafkaServerTestHarness.setUp(KafkaServerTestHarness.scala:91)
      	at kafka.api.IntegrationTestHarness.setUp(IntegrationTestHarness.scala:64)
      	at kafka.api.EndToEndAuthorizationTest.setUp(EndToEndAuthorizationTest.scala:158)
      	at kafka.api.SaslEndToEndAuthorizationTest.setUp(SaslEndToEndAuthorizationTest.scala:47)
      	at kafka.api.SaslScramSslEndToEndAuthorizationTest.setUp(SaslScramSslEndToEndAuthorizationTest.scala:43)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	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.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
      	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:147)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:129)
      	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
      	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      [2017-05-12 19:25:43,663] 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-05-12 19:25:43,677] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:25:44,673] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:25:44,678] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      [2017-05-12 19:25:45,274] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:25:46,561] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:47,824] 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-05-12 19:25:47,835] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      [2017-05-12 19:25:48,215] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:25:48,679] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:25:48,692] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:25:49,798] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:49,889] ERROR Not authorized to commit to topics [e2etopic] for group group (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:790)
      [2017-05-12 19:25:49,890] ERROR Not authorized to commit to topics [e2etopic] for group group (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:790)
      [2017-05-12 19:25:51,057] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:52,174] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:52,546] 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-05-12 19:25:52,560] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:25:53,463] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:25:53,463] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      [2017-05-12 19:25:54,183] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:25:56,229] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:57,450] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:57,735] ERROR Not authorized to commit to topics [e2etopic] for group group (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:790)
      [2017-05-12 19:25:59,016] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:25:59,899] 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-05-12 19:25:59,911] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:26:00,278] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:00,672] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:26:00,679] ERROR [ReplicaFetcherThread-0-0]: Error for partition [__consumer_offsets,0] to broker 0:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:26:01,598] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
        
      
      [2017-05-12 19:26:03,193] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:03,937] 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-05-12 19:26:03,949] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:26:04,365] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:04,790] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:26:04,792] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      [2017-05-12 19:26:05,632] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:07,055] ERROR [Controller 2]: Error while electing or becoming controller on broker 2 (kafka.controller.KafkaController:105)
      org.I0Itec.zkclient.exception.ZkInterruptedException: java.lang.InterruptedException
      	at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:1003)
      	at org.I0Itec.zkclient.ZkClient.watchForData(ZkClient.java:1159)
      	at org.I0Itec.zkclient.ZkClient.subscribeDataChanges(ZkClient.java:195)
      	at kafka.controller.KafkaController.registerPartitionModificationsListener(KafkaController.scala:852)
      	at kafka.controller.KafkaController$$anonfun$onControllerFailover$2.apply(KafkaController.scala:262)
      	at kafka.controller.KafkaController$$anonfun$onControllerFailover$2.apply(KafkaController.scala:262)
      	at scala.collection.immutable.Set$Set2.foreach(Set.scala:128)
      	at kafka.controller.KafkaController.onControllerFailover(KafkaController.scala:262)
      	at kafka.controller.KafkaController.elect(KafkaController.scala:1558)
      	at kafka.controller.KafkaController$Reelect$.process(KafkaController.scala:1505)
      	at kafka.controller.KafkaController$ControllerEventThread.doWork(KafkaController.scala:1147)
      	at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:64)
      Caused by: java.lang.InterruptedException
      	at java.lang.Object.wait(Native Method)
      	at java.lang.Object.wait(Object.java:503)
      	at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1406)
      	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1097)
      	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1130)
      	at org.I0Itec.zkclient.ZkConnection.exists(ZkConnection.java:115)
      	at org.I0Itec.zkclient.ZkClient$14.call(ZkClient.java:1162)
      	at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:991)
      	... 11 more
      [2017-05-12 19:26:07,057] ERROR [controller-event-thread]: Error processing event Reelect (kafka.controller.KafkaController$ControllerEventThread:105)
      org.I0Itec.zkclient.exception.ZkInterruptedException: java.lang.InterruptedException
      	at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:1003)
      	at org.I0Itec.zkclient.ZkClient.delete(ZkClient.java:1048)
      	at org.I0Itec.zkclient.ZkClient.delete(ZkClient.java:1043)
      	at kafka.utils.ZkUtils.deletePath(ZkUtils.scala:618)
      	at kafka.controller.KafkaController.kafka$controller$KafkaController$$triggerControllerMove(KafkaController.scala:1532)
      	at kafka.controller.KafkaController.elect(KafkaController.scala:1571)
      	at kafka.controller.KafkaController$Reelect$.process(KafkaController.scala:1505)
      	at kafka.controller.KafkaController$ControllerEventThread.doWork(KafkaController.scala:1147)
      	at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:64)
      Caused by: java.lang.InterruptedException
      	at java.lang.Object.wait(Native Method)
      	at java.lang.Object.wait(Object.java:503)
      	at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1406)
      	at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:871)
      	at org.I0Itec.zkclient.ZkConnection.delete(ZkConnection.java:110)
      	at org.I0Itec.zkclient.ZkClient$11.call(ZkClient.java:1052)
      	at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:991)
      	... 8 more
      [2017-05-12 19:26:07,068] 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-05-12 19:26:07,080] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:26:07,652] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:07,787] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:26:07,806] ERROR [ReplicaFetcherThread-0-1]: Error for partition [__consumer_offsets,0] to broker 1:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      [2017-05-12 19:26:08,789] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:10,051] 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-05-12 19:26:10,064] 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)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:26:10,574] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:10,865] ERROR [ReplicaFetcherThread-0-2]: Error for partition [__consumer_offsets,0] to broker 2:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:26:10,870] ERROR [ReplicaFetcherThread-0-2]: Error for partition [__consumer_offsets,0] to broker 2:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-user has Allow permission for operations: Create from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Adding ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:e2etopic`: 
       	User:scram-user has Allow permission for operations: Write from hosts: *
      	User:scram-user has Allow permission for operations: Read from hosts: *
      	User:scram-user has Allow permission for operations: Describe from hosts: * 
      
      Current ACLs for resource `Group:group`: 
       	User:scram-user has Allow permission for operations: Read from hosts: * 
      
      [2017-05-12 19:26:12,474] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:14,564] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:15,966] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:17,441] 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-05-12 19:26:17,455] 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-05-12 19:26:17,562] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      Adding ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Current ACLs for resource `Cluster:kafka-cluster`: 
       	User:scram-admin has Allow permission for operations: ClusterAction from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-admin'.
      [2017-05-12 19:26:18,307] ERROR [ReplicaFetcherThread-0-2]: Error for partition [__consumer_offsets,0] to broker 2:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      [2017-05-12 19:26:18,307] ERROR [ReplicaFetcherThread-0-2]: Error for partition [__consumer_offsets,0] to broker 2:org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. (kafka.server.ReplicaFetcherThread:99)
      Adding ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Current ACLs for resource `Topic:*`: 
       	User:scram-admin has Allow permission for operations: Read from hosts: * 
      
      Completed Updating config for entity: user-principal 'scram-user'.
      Completed Updating config for entity: user-principal 'scram-user2'.
      [2017-05-12 19:26:19,633] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:21,333] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:22,866] WARN Session 0x15bfe0ceda70002 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn:1162)
      java.net.ConnectException: Connection refused
      	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
      	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
      	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
      	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
      [2017-05-12 19:26:23,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)
      

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              xvrl Xavier Léauté
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: