[ 
https://issues.apache.org/jira/browse/SQOOP-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567167#comment-13567167
 ] 

Cheolsoo Park commented on SQOOP-855:
-------------------------------------

+1. LGTM.
                
> pg_bulkload: NullPointerException will be thrown if user specified invalid 
> path the binary
> ------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-855
>                 URL: https://issues.apache.org/jira/browse/SQOOP-855
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.3
>
>         Attachments: bugSQOOP-855.patch
>
>
> Following NPE will be thrown in case that user specify invalid path in 
> "pgbulkload.bin" property.
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.sqoop.mapreduce.PGBulkloadExportMapper.cleanup(PGBulkloadExportMapper.java:203)
>       at 
> org.apache.sqoop.mapreduce.PGBulkloadExportMapper.setup(PGBulkloadExportMapper.java:173)
>       at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:138)
>       at 
> org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)
>       at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:673)
>       at org.apache.hadoop.mapred.MapTask.run(MapTask.java:331)
>       at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
>       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:1372)
>       at org.apache.hadoop.mapred.Child.main(Child.java:262)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to