hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6395) Improve the commit failure messages in MRAppMaster
Date Fri, 12 Jun 2015 17:07:01 GMT
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:
        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;

This message was sent by Atlassian JIRA

View raw message