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

Switch to Threaded View
Sqoop >> mail # dev >> Review Request: Patch for SQOOP-474

Copy link to this message
Re: Review Request: Patch for SQOOP-474

This is an automatically generated e-mail. To reply, visit:

(Updated 2012-04-05 22:14:12.420696)
Review request for Sqoop and Arvind Prabhakar.

Rebased on SQOOP-468

Before triggering the bounding value query construction, in addition to checking that the user has specified a split by option, also take into account that the number of mappers is 1.
This addresses bug SQOOP-474.
Diffs (updated)

  ./src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java 1309506

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

Ran unit tests. Confirmed that, with the fix, the console output does not have the boundary query in it (i.e. INFO db.DataDrivenDBInputFormat: BoundingValsQuery).