sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: does --hbase-row-key support multiple columns?
Date Thu, 08 Aug 2013 16:05:30 GMT
Hey Shengjie,

Composite keys were added in Sqoop 1.4.4. Take a look --hbase-row-key in
http://sqoop.apache.org/docs/1.4.4/SqoopUserGuide.html#idp3672480.

-Abe


On Thu, Aug 8, 2013 at 12:29 AM, shengjie min <kelvin.msj@gmail.com> wrote:

> Hi Guys,
>
> I am importing mysql table to HBase using sqoop. Normally, HBase's row key
> is not consisted just by one column, it normally is a combination among two
> or three columns + the timestamp, e.g. row key =
> ${col1}${col2}${timestamp}. I can't get it working using sqoop, just
> wondering does sqoop --hbase-row-key allow me to do something like --hbase-row-key=col1,
> col2, tiemstamp during the import, then my HBase row key will end up with
> three fields combination?
>
> Thanks,
> Shengjie
>

Mime
View raw message