[jira] [Commented] (KAFKA-3110) can't set cluster acl for a user to CREATE topics without first creating a topic
[ https://issues.apache.org/jira/browse/KAFKA-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15123851#comment-15123851 ] Ismael Juma commented on KAFKA-3110: Thanks for checking. > can't set cluster acl for a user to CREATE topics without first creating a > topic > > > Key: KAFKA-3110 > URL: https://issues.apache.org/jira/browse/KAFKA-3110 > Project: Kafka > Issue Type: Bug > Components: core >Affects Versions: 0.9.0.0 >Reporter: Thomas Graves > > I started a new kafka cluster with security. I tried to give a user cluster > CREATE permissions so they could create topics: > kafka-acls.sh --authorizer-properties zookeeper.connect=host.com:2181 > --cluster --add --operation CREATE --allow-principal User:myuser > This failed with the error below and the broker ended up shutting down and > wouldn't restart without removing the zookeeper data. > @40005699398806bd170c org.I0Itec.zkclient.exception.ZkNoNodeException: > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > NoNode for /kafka-acl/Topic > To work around this you can first create any topic which creates the > zookeeper node and then after that you can give the user create permissions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3110) can't set cluster acl for a user to CREATE topics without first creating a topic
[ https://issues.apache.org/jira/browse/KAFKA-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15123845#comment-15123845 ] Thomas Graves commented on KAFKA-3110: -- Tried to reproduce this again but couldn't. I must have done something wrong initially. > can't set cluster acl for a user to CREATE topics without first creating a > topic > > > Key: KAFKA-3110 > URL: https://issues.apache.org/jira/browse/KAFKA-3110 > Project: Kafka > Issue Type: Bug > Components: core >Affects Versions: 0.9.0.0 >Reporter: Thomas Graves > > I started a new kafka cluster with security. I tried to give a user cluster > CREATE permissions so they could create topics: > kafka-acls.sh --authorizer-properties zookeeper.connect=host.com:2181 > --cluster --add --operation CREATE --allow-principal User:myuser > This failed with the error below and the broker ended up shutting down and > wouldn't restart without removing the zookeeper data. > @40005699398806bd170c org.I0Itec.zkclient.exception.ZkNoNodeException: > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > NoNode for /kafka-acl/Topic > To work around this you can first create any topic which creates the > zookeeper node and then after that you can give the user create permissions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3110) can't set cluster acl for a user to CREATE topics without first creating a topic
[ https://issues.apache.org/jira/browse/KAFKA-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15117246#comment-15117246 ] Thomas Graves commented on KAFKA-3110: -- I was using 0.9 release so I'll give it a try with trunk. > can't set cluster acl for a user to CREATE topics without first creating a > topic > > > Key: KAFKA-3110 > URL: https://issues.apache.org/jira/browse/KAFKA-3110 > Project: Kafka > Issue Type: Bug > Components: core >Affects Versions: 0.9.0.0 >Reporter: Thomas Graves > > I started a new kafka cluster with security. I tried to give a user cluster > CREATE permissions so they could create topics: > kafka-acls.sh --authorizer-properties zookeeper.connect=host.com:2181 > --cluster --add --operation CREATE --allow-principal User:myuser > This failed with the error below and the broker ended up shutting down and > wouldn't restart without removing the zookeeper data. > @40005699398806bd170c org.I0Itec.zkclient.exception.ZkNoNodeException: > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > NoNode for /kafka-acl/Topic > To work around this you can first create any topic which creates the > zookeeper node and then after that you can give the user create permissions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3110) can't set cluster acl for a user to CREATE topics without first creating a topic
[ https://issues.apache.org/jira/browse/KAFKA-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15113405#comment-15113405 ] Ashish K Singh commented on KAFKA-3110: --- [~tgraves] i have done this with trunk without any issue. Could you confirm if it still an issue for you? > can't set cluster acl for a user to CREATE topics without first creating a > topic > > > Key: KAFKA-3110 > URL: https://issues.apache.org/jira/browse/KAFKA-3110 > Project: Kafka > Issue Type: Bug > Components: core >Affects Versions: 0.9.0.0 >Reporter: Thomas Graves > > I started a new kafka cluster with security. I tried to give a user cluster > CREATE permissions so they could create topics: > kafka-acls.sh --authorizer-properties zookeeper.connect=host.com:2181 > --cluster --add --operation CREATE --allow-principal User:myuser > This failed with the error below and the broker ended up shutting down and > wouldn't restart without removing the zookeeper data. > @40005699398806bd170c org.I0Itec.zkclient.exception.ZkNoNodeException: > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = > NoNode for /kafka-acl/Topic > To work around this you can first create any topic which creates the > zookeeper node and then after that you can give the user create permissions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)