Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Looks like a cleanup issue:
testTwoConsumersWithDifferentSaslCredentials – kafka.api.SaslPlainSslEndToEndAuthorizationTest a few seconds Error org.apache.kafka.common.errors.GroupAuthorizationException: Not authorized to access group: group Stacktrace org.apache.kafka.common.errors.GroupAuthorizationException: Not authorized to access group: group Standard Output [2017-10-27 00:37:47,919] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:37:48,961] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:37:48,967] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * [2017-10-27 00:37:52,330] 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-10-27 00:37:52,345] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:37:53,459] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:37:53,462] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Read from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * [2017-10-27 00:37:55,520] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b4384550004, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:37:55,528] ERROR Error while creating ephemeral at /controller with return code: OK (kafka.zk.KafkaZkClient$CheckedEphemeral:101) [2017-10-27 00:37:56,245] 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-10-27 00:37:56,274] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:37:57,186] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:37:57,190] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * Current ACLs for resource `Topic:e2etopic`: [2017-10-27 00:37:59,173] ERROR Error while creating ephemeral at /controller with return code: OK (kafka.zk.KafkaZkClient$CheckedEphemeral:101) [2017-10-27 00:37:59,670] 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-10-27 00:37:59,685] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:00,824] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:00,829] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Read from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:02,886] ERROR Error while creating ephemeral at /controller with return code: OK (kafka.zk.KafkaZkClient$CheckedEphemeral:101) [2017-10-27 00:38:03,325] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43a102000a, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:38:04,001] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43a1020006, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:38:04,010] 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-10-27 00:38:04,024] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:05,141] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition __consumer_offsets-0 from broker 1 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:05,143] ERROR [ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition __consumer_offsets-0 from broker 1 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:05,343] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43b1f5000c, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * [2017-10-27 00:38:05,664] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43b1f5000f, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:06,013] ERROR [Consumer clientId=consumer-290, groupId=group] Offset commit failed on partition e2etopic-0 at offset 0: Not authorized to access topics: [Topic authorization failed.] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:301) [2017-10-27 00:38:06,013] ERROR [Consumer clientId=consumer-290, groupId=group] Not authorized to commit to topics [e2etopic] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:291) [2017-10-27 00:38:07,551] 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-10-27 00:38:07,553] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43b1f50000, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:38:07,568] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:08,521] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:08,526] ERROR [ReplicaFetcher replicaId=1, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:09,761] ERROR [Consumer clientId=consumer-292, groupId=group] Offset commit failed on partition e2etopic-0 at offset 0: Not authorized to access topics: [Topic authorization failed.] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:301) [2017-10-27 00:38:09,762] ERROR [Consumer clientId=consumer-292, groupId=group] Not authorized to commit to topics [e2etopic] (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:291) [2017-10-27 00:38:10,861] ERROR Error while creating ephemeral at /controller with return code: OK (kafka.zk.KafkaZkClient$CheckedEphemeral:101) [2017-10-27 00:38:12,160] 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-10-27 00:38:12,179] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:13,082] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:13,086] ERROR [ReplicaFetcher replicaId=1, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * Current ACLs for resource `Topic:e2etopic`: [2017-10-27 00:38:15,256] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b43d1d00007, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:38:17,778] 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-10-27 00:38:17,792] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:18,750] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:18,751] ERROR [ReplicaFetcher replicaId=1, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 from broker 2 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * [2017-10-27 00:38:22,244] 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-10-27 00:38:22,257] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:23,156] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition __consumer_offsets-0 from broker 1 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:23,158] ERROR [ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition __consumer_offsets-0 from broker 1 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Describe from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Describe from hosts: * [2017-10-27 00:38:26,208] 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-10-27 00:38:26,221] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:27,240] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:27,241] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:27,477] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition e2etopic-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Cluster:kafka-cluster`: User:user has Allow permission for operations: Create from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Read from hosts: * User:user has Allow permission for operations: Describe from hosts: * Adding ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:e2etopic`: User:user has Allow permission for operations: Write from hosts: * User:user has Allow permission for operations: Describe from hosts: * User:user has Allow permission for operations: Read from hosts: * Current ACLs for resource `Group:group`: User:user has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:29,710] ERROR Error while creating ephemeral at /controller with return code: OK (kafka.zk.KafkaZkClient$CheckedEphemeral:101) [2017-10-27 00:38:31,549] 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-10-27 00:38:31,549] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn:368) EndOfStreamException: Unable to read additional data from client sessionid 0x15f5b4408ab0000, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748) [2017-10-27 00:38:31,567] 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:admin has Allow permission for operations: ClusterAction from hosts: * Current ACLs for resource `Cluster:kafka-cluster`: User:admin has Allow permission for operations: ClusterAction from hosts: * [2017-10-27 00:38:32,752] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] [2017-10-27 00:38:32,759] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 from broker 0 (kafka.server.ReplicaFetcherThread:107) org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [Topic authorization failed.] Adding ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * Current ACLs for resource `Topic:*`: User:admin has Allow permission for operations: Read from hosts: * [2017-10-27 00:38:35,217] 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
- duplicates
-
KAFKA-6118 Transient failure in kafka.api.SaslScramSslEndToEndAuthorizationTest.testTwoConsumersWithDifferentSaslCredentials
- Resolved