Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
0.20.205.0
-
None
Description
In DBRecordWriter#close(), progress is never updated. In large batch inserts, this can cause the reduce task to time out due to the amount of time it takes the SQL engine to process that insert.
Potential solutions I can see:
Don't batch inserts; do the insert when DBRecordWriter#write() is called (awful)
Spin up a thread in DBRecordWriter#close() and update progress in that. (gross)
I can provide code for either if you're interested.