On Fri, Sep 23, 2011 at 2:22 AM, Sheng Chen <[email protected]> wrote: > I want to manually split a region into 2 parts of the same size. > The row key of the regions is based on user-id, which is not distributed > uniformly. > I see that in the default split method, the midkey is returned after a > compaction. > Can I get the midkey efficiently without compact it? >
There is no API to do this exposed to the client. You'd have to go behind API and access the files in the filesystem directly; see http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/io/hfile/HFile.Reader.html St.Ack
