hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dheeraj kavalur <dheerajkavalu...@gmail.com>
Subject Hbase Row Key Scan
Date Thu, 19 Nov 2015 04:55:22 GMT

Can someone help how to query on partial rowkey.

*Table Name :* URLdata

*Column Family:* BaseID

*Columns:*1.       userId

2.       userIdType

3.       username

4.       country

*RowKey Design :*

                               userId | useridType|country  (Pipe separated
columns concatenated)

*Requirement*: :

ยท                                                       Count Distinct
(userId| useridType) combination from the table.
                            Have to do partial scan (read ) on the
composite rowkey.

                        The count has to been done on Map-side only by
reading partial key and actual userid from column in hbase and count the

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