hbase-indexer solr numFound different from hbase table rows size

25 views
Skip to first unread message

Jianxin Chen

unread,
May 16, 2016, 11:12:26 PM5/16/16
to HBase Indexer Users
Recently my team is using hbase-indexer on CDH for indexing hbase table column to solr . When we deploy hbase-indexer server (which is called Key-Value Store Indexer) and begin testing. We found a situation that the rows size between hbase table and solr index is different :

We used Phoenix to count hbase table rows:

0: jdbc:phoenix:slave1,slave2,slave3:2181> SELECT /*+ NO_INDEX */  COUNT(1) FROM C_PICRECORD;
+------------------------------------------+
|                 COUNT(1)                 |
+------------------------------------------+
| 4084355                                  |
+------------------------------------------+

And we use Solr Web UI to count solr index size :

numFound : 4060479

We could not found any error log from hbase-indexer log and solr log. But the rows size between hbase table and solr index is really different !  Is there anyone meet this situation ? I don't know how to do 
Reply all
Reply to author
Forward
0 new messages