hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Mackles <pmack...@adobe.com>
Subject Re: Bulk import - key, value ambiguity
Date Sat, 04 Aug 2012 20:03:06 GMT
Probably because M/R requires a key and because you want M/R to sort on
that key which is required for writing hfiles.

On 8/4/12 8:22 AM, "Ioakim Perros" <imperros@gmail.com> wrote:

>Does anyone knows why at HFileOutputFormat the API (
>suggests using as key an ImmutableBytesWritable object and as value a
>KeyValue object,
>when the KeyValue object has as its field the row that each KeyValue
>will lead to ? And as I experienced, this row field is being used as the
>table's key.
>Thanks in advance!

View raw message