hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rutherglen <jason.rutherg...@gmail.com>
Subject Re: Getting the row with a Coprocessor
Date Mon, 14 Mar 2011 20:31:52 GMT
Gary,

I've called KV.getRow() however there has been nothing returned, or
for the 'info' family, values other than what the Put object was
given.

> Sorry, not sure what you mean by the info family?  You mean in the .META.
> table or somewhere else?  In .META. it holds one row per region for each
> user table in HBase.

Info seems to be a family that's given to the Coprocessor, at least
when the test case uses HBaseTestingUtility.

Jason

On Mon, Mar 14, 2011 at 1:28 PM, Gary Helmling <ghelmling@gmail.com> wrote:
> You can get the row key from the KeyValue entries in the map.  Just call
> KeyValue.getRow().
>
> Sorry, not sure what you mean by the info family?  You mean in the .META.
> table or somewhere else?  In .META. it holds one row per region for each
> user table in HBase.
>
>
> On Mon, Mar 14, 2011 at 12:53 PM, Jason Rutherglen <
> jason.rutherglen@gmail.com> wrote:
>
>> I've subclassed RegionObserver and am overriding postPut.  How does
>> one obtain the row byte[] of the Put that generated the call?  Is it
>> available via from the familyMap?  What is the purpose of the info
>> family?
>>
>

Mime
View raw message