我会遇到这个问题: 是不是哪里配置不多
[2018-04-27 07:00:54,558] WARN SASL configuration failed: javax.security.auth.login.LoginException: Cannot locate KDC Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)
[2018-04-27 07:00:54,560] INFO Opening socket connection to server 192.168.182.17/192.168.182.17:10363 (org.apache.zookeeper.ClientCnxn)
[2018-04-27 07:00:54,561] INFO zookeeper state changed (AuthFailed) (org.I0Itec.zkclient.ZkClient)
[2018-04-27 07:00:54,561] INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread)
[2018-04-27 07:00:54,565] INFO Socket connection established to 192.168.182.17/192.168.182.17:10363, initiating session (org.apache.zookeeper.ClientCnxn)
[2018-04-27 07:00:54,572] INFO Session establishment complete on server 192.168.182.17/192.168.182.17:10363, sessionid = 0x10130ca09830001, negotiated timeout = 6000 (org.apache.zookeeper.ClientCnxn)
[2018-04-27 07:00:54,574] INFO Session: 0x10130ca09830001 closed (org.apache.zookeeper.ZooKeeper)
[2018-04-27 07:00:54,575] FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication failure
at org.I0Itec.zkclient.ZkClient.waitForKeeperState(ZkClient.java:947)
at org.I0Itec.zkclient.ZkClient.waitUntilConnected(ZkClient.java:924)
at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1231)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:157)
at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:131)
at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:115)
at kafka.utils.ZkUtils$.withMetrics(ZkUtils.scala:92)
at kafka.server.KafkaServer.initZk(KafkaServer.scala:346)
at kafka.server.KafkaServer.startup(KafkaServer.scala:194)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:38)
at kafka.Kafka$.main(Kafka.scala:92)
at kafka.Kafka.main(Kafka.scala)
[2018-04-27 07:00:54,576] INFO EventThread shut down for session: 0x10130ca09830001 (org.apache.zookeeper.ClientCnxn)
[2018-04-27 07:00:54,578] INFO shutting down (kafka.server.KafkaServer)
[2018-04-27 07:00:54,583] INFO shut down completed (kafka.server.KafkaServer)
[2018-04-27 07:00:54,583] FATAL Exiting Kafka. (kafka.server.KafkaServerStartable)
[2018-04-27 07:00:54,585] INFO shutting down (kafka.server.KafkaServer)