Support Questions
Find answers, ask questions, and share your expertise

hbase-indexer list-indexers returns gives Zookeeper error

Highlighted

hbase-indexer list-indexers returns gives Zookeeper error

New Contributor

[xxxxx@hadoop02 ~]$ hbase-indexer list-indexers
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/hbase-solr/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
ZooKeeper connection string not specified, using default: localhost:2181

[WARN ][09:57:33,999][host:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
Number of indexes: 1

myIndexer
  + Lifecycle state: ACTIVE
  + Incremental indexing state: SUBSCRIBE_AND_CONSUME
  + Batch indexing state: INACTIVE
  + SEP subscription ID: Indexer_myndexer
  + SEP subscription timestamp: 2014-04-16T03:00:44.493-04:00
  + Connection type: solr
  + Connection params:
    + solr.mode = cloud
    + solr.collection = hbase-collection2
    + solr.zk = m001:2181/solr,m2:2181/solrm3:2181/solr
  + Indexer config:
      586 bytes, use -dump to see content
  + Batch index config:
      (none)
  + Default batch index config:
      (none)
  + Processes
    + 3 running processes
    + 0 failed processes

1 REPLY 1

Re: hbase-indexer list-indexers returns gives Zookeeper error

Champion Alumni

Can you paste the zoo keeper logs.One possibel reason  I had faced was zoo keepr  could have reached max connections from  this host.Can you try running the list-indexers from another  host?.