sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erzsebet Szilagyi <erzsebet.liz.szila...@gmail.com>
Subject Re: Review Request 52212: SQOOP-3013: Configuration "tmpjars" is not checked for empty strings before passing to MR
Date Mon, 26 Sep 2016 10:53:58 GMT

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

(Updated Sept. 26, 2016, 12:53 p.m.)


Review request for Sqoop, Boglarka Egyed, Chris Teoh, Attila Szabo, Anna Szonyi, and Szabolcs
Vasas.


Changes
-------

Added unit tests and fixed some errors.


Bugs: SQOOP-3013
    https://issues.apache.org/jira/browse/SQOOP-3013


Repository: sqoop-trunk


Description
-------

When setting job configurations and adding files to "tmpjars", Sqoop does not sanitize the
list of empty strings.
Sqoop should remove empty strings before starting the MR job and raise a warning if an empty
string was found.

The proposed changes check for empty strings in "tmpjars" and remove them along with raising
a warning.


Diffs (updated)
-----

  src/java/org/apache/sqoop/mapreduce/JobBase.java 7ed2684 
  src/test/org/apache/sqoop/mapreduce/TestJobBase.java PRE-CREATION 

Diff: https://reviews.apache.org/r/52212/diff/


Testing
-------

Live test with command including: "tmpjars=,,valid,,,validother,,,"


Thanks,

Erzsebet Szilagyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message