分享

hbase-indexer running processes为 0的问题

karo_lee 发表于 2015-4-24 16:47:23 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 3 23433
哪位仁兄用过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集群的数据量。
总得重启可不是什么好现象啊
是不是哪里没有搞对


已有(3)人评论

跳转到指定楼层
langke93 发表于 2015-4-24 17:40:07
楼主说的
Lily HBase NRT Indexer??
回复

使用道具 举报

s060403072 发表于 2015-4-24 17:50:54
langke93 发表于 2015-4-24 17:40
楼主说的
Lily HBase NRT Indexer??



总的来说还是配置的问题。楼主是参考的官网吗?
配置为localhost试试
    + solr.zk = localhost/solr

根据官网在配置下


回复

使用道具 举报

karo_lee 发表于 2015-4-26 07:20:29
s060403072 发表于 2015-4-24 17:50
总的来说还是配置的问题。楼主是参考的官网吗?
配置为localhost试试
    + solr.zk = localhost/s ...

是的参考的官网,谢谢我再仔细瞅瞅
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条