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 18, 2013, 5:58 p.m.)
Review request for Sqoop.

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.

  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
  src/test/com/cloudera/sqoop/TestConnFactory.java c0b295e

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

Unit tests pass.
Manually tested hive import.

Raghav Gautam