You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Qian Xu (JIRA)" <ji...@apache.org> on 2015/03/17 03:21:38 UTC
[jira] [Updated] (SQOOP-1289) Sqoop hbase-bulkload does not work
with composite key
[ https://issues.apache.org/jira/browse/SQOOP-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qian Xu updated SQOOP-1289:
---------------------------
Fix Version/s: (was: 1.4.6)
1.4.7
> Sqoop hbase-bulkload does not work with composite key
> -----------------------------------------------------
>
> Key: SQOOP-1289
> URL: https://issues.apache.org/jira/browse/SQOOP-1289
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.5
> Reporter: hahakubile
> Labels: hbase-bulkload
> Fix For: 1.4.7
>
>
> when executing command below:
> ./sqoop import --connect jdbc:mysql://$MYSQL_SERVER/$DATABASE --driver com.mysql.jdbc.Driver --username $USER --password $PASSWORD --table $TABLE --hbase-table $HBASE_TABLE --column-family f --hbase-row-key id,proid --hbase-bulkload
>
> java.io.IOException: Could not insert row with null value for row-key column: id,proid
> at org.apache.sqoop.hbase.ToStringPutTransformer.getPutCommand(ToStringPutTransformer.java:146)
> at org.apache.sqoop.mapreduce.HBaseBulkImportMapper.map(HBaseBulkImportMapper.java:86)
> at org.apache.sqoop.mapreduce.HBaseBulkImportMapper.map(HBaseBulkImportMapper.java:44)
> at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
> at org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)
> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:648)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:322)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:266)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
> at org.apache.hadoop.mapred.Child.main(Child.java:260)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)