哪位仁兄用过cdh的hbase-indexer.这儿有个问题没搞明白
新建
hbase-indexer add-indexer ......
查看
hbase-indexer list-indexers
总有部分indexer的runnning processes为0,这样在hbase进入数据的时候solr就没有指定字段的索引文件生成。
+ Processes
+ 0 running processes
+ 0 failed processes
list的全文如下:
T_BA_RY_WGSQRJBXX
+ Lifecycle state: ACTIVE
+ Incremental indexing state: SUBSCRIBE_AND_CONSUME
+ Batch indexing state: INACTIVE
+ SEP subscription ID: Indexer_T_BA_RY_WGSQRJBXX
+ SEP subscription timestamp: 2015-04-24T15:38:07.569+08:00
+ Connection type: solr
+ Connection params:
+ solr.collection = T_BA_RY_WGSQRJBXX
+ solr.zk = cdh3.rpsoft.com,cdh2.rpsoft.com,cdh4.rpsoft.com/solr
+ Indexer config:
237 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
然后重启hbase-indexer的服务,running processes又变成了我indexer集群的数据量。
总得重启可不是什么好现象啊
是不是哪里没有搞对
|
|