Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-20-2016 09:55 AM
Created 05-20-2016 12:35 PM
Yes, sqoop considers split-by column(--split-by <column-name>) as the rowkey if --hbase-row-key is not specified.
Created 05-20-2016 11:21 AM
By default sqoop will look for primary key column in the source table and convert it as hbase key while importing into hbase but in case you don't have primary key in source table then you have to specify the column in --hbase-row-key
Created 05-20-2016 12:31 PM
Hbase is a key value store so it will require any one col to be declared as row key.
can you share the schema of sqllserver and how you want it to look in hbase?
Created 05-20-2016 12:35 PM
Yes, sqoop considers split-by column(--split-by <column-name>) as the rowkey if --hbase-row-key is not specified.