hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4522) DBOutputFormat Times out on large batch inserts
Date Sun, 06 Mar 2016 07:42:45 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182035#comment-15182035
] 

Tsuyoshi Ozawa commented on MAPREDUCE-4522:
-------------------------------------------

[~shyam_gav] Thank you for the question. That's my mistake: Correctly: "Please add the configuraition,
MR_DBOUTPUTFORMAT_BATCH_SIZE, to DBOutputFormat  class instead of MRJobConfig". 

> DBOutputFormat Times out on large batch inserts
> -----------------------------------------------
>
>                 Key: MAPREDUCE-4522
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4522
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller
>    Affects Versions: 0.20.205.0
>            Reporter: Nathan Jarus
>            Assignee: Shyam Gavulla
>              Labels: newbie
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message