Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

Is hbase has default secondary index feature?

avatar
Rising Star

Is hbase has default support of secondary index....

On many site they suggested to use CoProcessor or Hindex

If hbase has secondary index support or any alternatives how to achieve these, can any one please explain......

if hbase has no secondary index, How hbase perform in column qualifier based scan like [scan 'tablename',{COLUMNS => ['column1']}]

1 REPLY 1

avatar

I'm guessing you've already seen http://hbase.apache.org/0.94/book/secondary.indexes.html which basically is telling you that you'll need to have a second table whose rowkey is your "secondary index" and is only being used to find the rowkey needed for the actual table. The coprocessor strategy, as I understand it, is to just formalize & automate the "dual-write secondary index" strategy. Good luck and happy Hadooping!