You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2015/06/12 19:07:01 UTC

[jira] [Created] (MAPREDUCE-6395) Improve the commit failure messages in MRAppMaster

Gera Shegalov created MAPREDUCE-6395:
----------------------------------------

             Summary: Improve the commit failure messages in MRAppMaster
                 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


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)