hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Patel <arunp.bigd...@gmail.com>
Subject Count rows in HBase based on partial rowkeys
Date Fri, 04 Dec 2015 21:10:55 GMT
I am storing multiple applications (APP1 and APP2) data in same table as
shown below.

Sample rowkeys are APP1 and APP2 are

fd26420829cf4286949f77521019473d0e7e0f06-APP1-docid1
7446eabb0cf2bc9f5f7c4fa0d9d3dfcdef4bb198-APP1-docid2

45c6ed2b4879338a4b40c3f0f82fb0765b5eeb1c-APP2-mydoc1
87a141aea9a09eeaa66aed4b6e6bde7cc44f365a-APP2-mydoc2

Is there a way to COUNT how many rows are for APP1 and APP2?  Command line,
JRuby or Java?

Regards,
Arun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message