As you have probably seen through your searches, the way this is typically
handled is to create and maintain a secondary table with the keys reversed,
such that scans on that table retrieve items in reverse order. This can be
done in the application or using THBase. See
http://hadoop.apache.org/hbase/docs/current/api/org/apache/hadoop/hbase/client/tableindexed/package-summary.html
If using THBase, implement an IndexKeyGenerator with the desired properties
and make sure it is on the classpath of all clients and region servers.
- Andy
________________________________
From: Tux Racer <[email protected]>
To: [email protected]
Sent: Thu, December 10, 2009 12:49:29 AM
Subject: client API newbie question: reverse order scanning
Hello Hbase Users,
I am reading the client API documentation and googling the Hbase users list:
it seems there is no way to create a scanner that will scan keys in the reverse
order.
Has the implementation of reverse order scanning be considered already? Would
that be something nice to have or just too complicated to implement or that
would slow down Hbase?
Thanks in advance
TR