Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1.0
-
Fix Version/s: None
-
Component/s: export
-
Labels:None
Description
AsyncSqlRecordWriter.execUpdate( ) calls getPreparedStatement( ).
If getPreparedStatement( ) throws an exception, the "finally block" runs and calls AsyncSqlRecordWriter.close( ).
AsyncSqlRecordWriter.close( ) calls execThread.join( ) - which hangs.
The user sees this...
10/10/14 10:05:05 INFO mapred.JobClient: Running job: job_201010111417_0015
10/10/14 10:05:06 INFO mapred.JobClient: map 0% reduce 0%
10/10/14 10:05:19 INFO mapred.JobClient: map 100% reduce 0%
...and the job never finishes.
The user has to view the log file for the mapper to see that there is a problem.