sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Szabo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1289) Sqoop hbase-bulkload does not work with composite key
Date Mon, 30 Oct 2017 14:06:01 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Attila Szabo updated SQOOP-1289:
--------------------------------
    Fix Version/s:     (was: 1.4.7)
                   1.5.0

> 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.5.0
>
>
> 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.4.14#64029)

Mime
View raw message