Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # dev - Review Request: SQOOP-855 pg_bulkload: NullPointerException will be thrown if user specified invalid path the binary


Copy link to this message
-
Review Request: SQOOP-855 pg_bulkload: NullPointerException will be thrown if user specified invalid path the binary
Jarek Cecho 2013-01-30, 23:59

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9168/
-----------------------------------------------------------

Review request for Sqoop.
Description
-------

The NPE was caused by calling cleanup from catch block in setup method. I've added conditions to check each variable before closing.
This addresses bug SQOOP-855.
    https://issues.apache.org/jira/browse/SQOOP-855
Diffs
-----

  src/java/org/apache/sqoop/mapreduce/PGBulkloadExportMapper.java 14d064a51725b23fe79990df8288554b4a22556a

Diff: https://reviews.apache.org/r/9168/diff/
Testing
-------

Tested on real cluster.
Thanks,

Jarek Cecho