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 <[email protected]> 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 >
