Such "errors" are very typical in zookeeper logs - it's very noisy. I typically ignore those errors and try and debug the Kafka issue either via Kafka logs, Kafka thread dumps and/or zookeeper shell.
Anyway, how are you adding the topics (script, code?) and what exactly 
are you noticing? Running into exceptions or timing out?
-Jaikiran
On Thursday 13 August 2015 04:06 AM, Jason Kania wrote:
Hello,
I am wondering if someone can point me in the right direction. I am getting 
this error when kafka connects to zookeeper:
zookeeper2_1          | 2015-08-12 22:18:21,493 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted 
socket connection from /100.100.100.1:38178zookeeper2_1          | 2015-08-12 
22:18:21,498 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client 
attempting to establish new session at /172.17.0.239:38178zookeeper2_1          
| 2015-08-12 22:18:21,499 [myid:] - INFO  [SyncThread:0:FileTxnLog@199] - 
Creating new log file: log.6azookeeper_1          | 2015-08-12 22:18:21,505 
[myid:] - INFO  [SyncThread:0:ZooKeeperServer@617] - Established session 
0x14f23fe141a0000 with negotiated timeout 6000 for client 
/100.100.100.1:38178zookeeper_1          | 2015-08-12 22:18:21,755 [myid:] - 
INFO  [ProcessThread(sid:0 cport:-1)::PrepRequestProcessor@645] - Got 
user-level KeeperException when processing sessionid:0x14f23fe141a0000 
type:delete cxid:0x1b zxid:0x6d txntype:-1 reqpath:n/a Error 
Path:/admin/preferred_replica_election Error:KeeperErrorCode = NoNode for 
/admin/preferred_replica_election
At this point Kafka remains running, I see nothing in the Kafka logs to 
indicate error, but attempts to add topics indicate that no brokers are 
running.  I have tried to look for a solution but zookeeper seems to be a 
really poor application.
Any suggestions would be appreciated.
Thanks,
Jason

Reply via email to