[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gera Shegalov updated MAPREDUCE-6395:
-------------------------------------
    Summary: Improve the commit failure messages in MRAppMaster recovery  (was: 
Improve the commit failure messages in MRAppMaster)

> Improve the commit failure messages in MRAppMaster recovery
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-6395
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6395
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: applicationmaster
>    Affects Versions: 2.7.0
>            Reporter: Gera Shegalov
>              Labels: noob
>
> There are typos, and pluralis majestatis (royal we) or user-including "we" 
> messages that are confusing to the users:
> {code}
>         if (commitSuccess) {
>           shutDownMessage = "We crashed after successfully committing. 
> Recovering.";
>           forcedState = JobStateInternal.SUCCEEDED;
>         } else if (commitFailure) {
>           shutDownMessage = "We crashed after a commit failure.";
>           forcedState = JobStateInternal.FAILED;
>         } else {
>           //The commit is still pending, commit error
>           shutDownMessage = "We crashed durring a commit";
>           forcedState = JobStateInternal.ERROR;
>         }
> {code}



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

Reply via email to