[ 
https://issues.apache.org/jira/browse/KAFKA-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998932#comment-15998932
 ] 

ASF GitHub Bot commented on KAFKA-5173:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

    https://github.com/apache/kafka/pull/2985

    KAFKA-5173: Log jaas.config if broker fails to start

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajinisivaram/kafka KAFKA-5173-debug

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2985.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2985
    
----
commit 2c2963fc4cbf74c1fd83f7b1daa50068cdb39361
Author: Rajini Sivaram <rajinisiva...@googlemail.com>
Date:   2017-05-05T20:37:10Z

    KAFKA-5173: Log jaas.config if broker fails to start

----


> SASL tests failing with Could not find a 'KafkaServer' or 
> 'sasl_plaintext.KafkaServer' entry in the JAAS configuration
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5173
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5173
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>             Fix For: 0.11.0.0
>
>
> I've seen this a few times. One example:
> {code}
> java.lang.IllegalArgumentException: Could not find a 'KafkaServer' or 
> 'sasl_plaintext.KafkaServer' entry in the JAAS configuration. System property 
> 'java.security.auth.login.config' is /tmp/kafka8162725028002772063.tmp
>       at 
> org.apache.kafka.common.security.JaasContext.defaultContext(JaasContext.java:131)
>       at 
> org.apache.kafka.common.security.JaasContext.load(JaasContext.java:96)
>       at 
> org.apache.kafka.common.security.JaasContext.load(JaasContext.java:78)
>       at 
> org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:100)
>       at 
> org.apache.kafka.common.network.ChannelBuilders.serverChannelBuilder(ChannelBuilders.java:73)
>       at kafka.network.Processor.<init>(SocketServer.scala:423)
>       at kafka.network.SocketServer.newProcessor(SocketServer.scala:145)
>       at 
> kafka.network.SocketServer$$anonfun$startup$1$$anonfun$apply$1.apply$mcVI$sp(SocketServer.scala:96)
>       at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
>       at 
> kafka.network.SocketServer$$anonfun$startup$1.apply(SocketServer.scala:95)
>       at 
> kafka.network.SocketServer$$anonfun$startup$1.apply(SocketServer.scala:90)
>       at 
> scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
>       at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
>       at kafka.network.SocketServer.startup(SocketServer.scala:90)
>       at kafka.server.KafkaServer.startup(KafkaServer.scala:218)
>       at kafka.utils.TestUtils$.createServer(TestUtils.scala:126)
>       at 
> kafka.integration.BaseTopicMetadataTest.setUp(BaseTopicMetadataTest.scala:51)
>       at 
> kafka.integration.SaslPlaintextTopicMetadataTest.kafka$api$SaslTestHarness$$super$setUp(SaslPlaintextTopicMetadataTest.scala:23)
>       at kafka.api.SaslTestHarness$class.setUp(SaslTestHarness.scala:31)
>       at 
> kafka.integration.SaslPlaintextTopicMetadataTest.setUp(SaslPlaintextTopicMetadataTest.scala:23)
> {code}
> https://builds.apache.org/job/kafka-trunk-jdk8/1479/testReport/junit/kafka.integration/SaslPlaintextTopicMetadataTest/testIsrAfterBrokerShutDownAndJoinsBack/
> [~rsivaram], any ideas?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to