Hello -

I'm using HBase for web server log processing and I'm trying to save
the top N urls per category per day in a sorted manner in HBase. From
what I've read, the only sortable structure that HBase offers is the
lexicographic sort in the row keys. So, here is the rowkey format I'm
currently using
<date>|<category>|<padded_visits>|<url>
where,  padded_visits = Long.MAX_VALUE - visits

This seems wasteful because of the long rowkeys. Is there any other
approach to maintain sorted results in HBase?

Thanks
Hari Prasanna

Reply via email to