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

Hudson commented on SQOOP-855:
------------------------------

Integrated in Sqoop-ant-jdk-1.6-hadoop100 #537 (See 
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/537/])
    SQOOP-855: pg_bulkload: NullPointerException will be thrown if user 
specified invalid path the binary (Revision 
0488503a3a1af4fc7b7679e3f3457bf988c18701)

     Result = SUCCESS
cheolsoo : 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=0488503a3a1af4fc7b7679e3f3457bf988c18701
Files : 
* src/java/org/apache/sqoop/mapreduce/PGBulkloadExportMapper.java

                
> 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