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

Switch to Threaded View
Sqoop >> mail # dev >> Review Request: Fix for Sqoop-976: Incremental import with text column as criteria should fail early

Copy link to this message
Re: Review Request: Fix for SQOOP-934: Potential connection timeout

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

(Updated June 20, 2013, 8:09 p.m.)
Review request for Sqoop.

Updated the patch according to Jarek's comment.

This patches fixes the SQOOP-934. The connection created prior to map-reduce job can potentially timed out while the job is running. This will cause problems when this connection is reused for generating the hive script. This patch discards the connection prior to hive script generation. So, a fresh connection will be used for generating hive script.
This addresses bug SQOOP-934.
Diffs (updated)

  src/java/org/apache/sqoop/hive/HiveImport.java 02596a6
  src/java/org/apache/sqoop/manager/ConnManager.java 32e736c
  src/java/org/apache/sqoop/manager/GenericJdbcManager.java 233e546

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

Unit tests pass.
Manually tested hive import.

Raghav Gautam