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

Switch to Threaded View
HBase >> mail # user >> RowKey using importtsv

Copy link to this message
Re: RowKey using importtsv
I ran into this issue as well recently.

Out of the box you can only specify one field as the row key, using
HBASE_ROW_KEY as an argument to the importtsv program. I had to create my
own ImportTsv class to add in the functionality to specify multiple fields
as parts of the row key.

On Mon, Mar 21, 2011 at 4:25 PM, Vivek Krishna <[EMAIL PROTECTED]>wrote:

> I have a TSV file like this :
> a    b   c   d   e
> I want the rowkey to be a_d and the rest to be column fields.  Is there a
> way of doing this using importtsv out of the box or do I need to touch the
> code?
> Viv