Nick
Nick

Reputation: 138

Cloudera hbase indexer not working

I'm trying to index HBase table, I followed the instructions, but in the end I saw a bit different info:

./hbase-indexer list-indexers --zookeeper 192.168.0.1:2181,192.168.0.2:2181    

my_index
    Lifecycle state: ACTIVE
    Incremental indexing state: SUBSCRIBE_AND_CONSUME
    Batch indexing state: BUILD_REQUESTED
    SEP subscription ID: null
    SEP subscription timestamp: 2014-11-17T16:25:53.629 05:00
    Connection type: solr
    Connection params:
      solr.collection = vk_groups
      solr.zk = 192.168.22.11:2181,192.168.22.12:2181/solr
    Indexer config:
      261 bytes, use -dump to see content
    Indexer component factory: com.ngdata.hbaseindexer.conf.DefaultIndexerComponentFactory
    Additional batch index CLI arguments:
      (none)
    Default additional batch index CLI arguments:
      (none)
    Processes
      0 running processes
      0 failed processes

0 running processes - but it must be 1 (from tutorial). As u can see, I tried butch update, but it is frozen. There are no logs anywhere (I've got log directory location from jog4j options).

And now I totally don't know what to do next.

Upvotes: 2

Views: 1350

Answers (1)

Robert Fišer
Robert Fišer

Reputation: 219

It seems like the indexer is not running. Start indexer with command: /bin/hbase-indexer server

Upvotes: 2

Related Questions