[ https://issues.apache.org/jira/browse/KAFKA-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-3079. ------------------------------ Resolution: Cannot Reproduce Mostly related to config error. Pl reopen if you think the issue still exists > org.apache.kafka.common.KafkaException: java.lang.SecurityException: > Configuration Error: > ----------------------------------------------------------------------------------------- > > Key: KAFKA-3079 > URL: https://issues.apache.org/jira/browse/KAFKA-3079 > Project: Kafka > Issue Type: Bug > Components: security > Affects Versions: 0.9.0.0 > Environment: RHEL 6 > Reporter: Mohit Anchlia > Attachments: kafka_server_jaas.conf > > > After enabling security I am seeing the following error even though JAAS file > has no mention of "Zookeeper". I used the following steps: > http://docs.confluent.io/2.0.0/kafka/sasl.html > [2016-01-07 19:05:15,329] FATAL Fatal error during KafkaServer startup. > Prepare to shutdown (kafka.server.KafkaServer) > org.apache.kafka.common.KafkaException: java.lang.SecurityException: > Configuration Error: > Line 8: expected [{], found [Zookeeper] > at > org.apache.kafka.common.security.JaasUtils.isZkSecurityEnabled(JaasUtils.java:102) > at kafka.server.KafkaServer.initZk(KafkaServer.scala:262) > at kafka.server.KafkaServer.startup(KafkaServer.scala:168) > at > kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37) > at kafka.Kafka$.main(Kafka.scala:67) > at kafka.Kafka.main(Kafka.scala) > Caused by: java.lang.SecurityException: Configuration Error: > Line 8: expected [{], found [Zookeeper] > at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:110) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > at java.lang.Class.newInstance(Class.java:374) > at > javax.security.auth.login.Configuration$2.run(Configuration.java:258) > at > javax.security.auth.login.Configuration$2.run(Configuration.java:250) > at java.security.AccessController.doPrivileged(Native Method) > at > javax.security.auth.login.Configuration.getConfiguration(Configuration.java:249) > at > org.apache.kafka.common.security.JaasUtils.isZkSecurityEnabled(JaasUtils.java:99) > ... 5 more > Caused by: java.io.IOException: Configuration Error: -- This message was sent by Atlassian JIRA (v6.4.14#64029)