hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Krishna <vivekris...@gmail.com>
Subject Re: RowKey using importtsv
Date Mon, 21 Mar 2011 21:33:20 GMT
Thanks Nichole.
Viv



On Mon, Mar 21, 2011 at 4:35 PM, Nichole Treadway <kntreadway@gmail.com>wrote:

> 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 <vivekrishna@gmail.com
> >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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message