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

Haibo Chen commented on MAPREDUCE-6776:
---------------------------------------

Thanks for the patch [[email protected]].
A few nits.
1) bq.  "If the resource manager is failing over and Oozie gets a communication 
failure, it assumes the target job has failed" 
This seems redundant given the next sentence describes the exact situation.
2) In your new test testGetJobRetryDefault, you are referencing the default 
value of max retries as 3. I think it is better to reference it as 
MRJobConfig.DEFAULT_MR_CLIENT_JOB_MAX_RETRIES for both maintainability and 
readability purposes. 

> yarn.app.mapreduce.client.job.max-retries should have a more useful default
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6776
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6776
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>            Assignee: Miklos Szegedi
>         Attachments: MAPREDUCE-6776.001.patch, MAPREDUCE-6776.002.patch
>
>
> The default is 0, so any communication failure results in a client failure.  
> Oozie doesn't like that.  If the RM is failing over and Oozie gets a 
> communication failure, it assumes the target job has failed.  I propose 
> raising the default to something modest like 3 or 5.  The default retry 
> interval is 2s.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to