Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # user - AccumuloInputFormat and non-Text Keys


+
Cardon, Tejay E 2012-09-14, 16:54
Copy link to this message
-
Re: AccumuloInputFormat and non-Text Keys
Billie Rinaldi 2012-09-14, 17:32
On Fri, Sep 14, 2012 at 9:54 AM, Cardon, Tejay E <[EMAIL PROTECTED]>wrote:

>  All,****
>
> I went to write some map/reduce code today that will use the
> AccumuloInputFormat to add records to Accumulo.  However, when I went to
> build my Mutation object, it quickly became apparent that Mutation only
> supports character based keys (Text and CharSequence).  Is there any way to
> write records to Accumulo in Map Reduce when column qualifiers or column
> families are binary data rather than char data?
>

Text is just a wrapper for a byte array.  You can put binary data in a Text.

Billie
****
>
> ** **
>
> Thanks,****
>
> Tejay****
>