Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6395

Improve the commit failure messages in MRAppMaster recovery

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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;
              }
      

      Attachments

        1. MAPREDUCE-6395-003.patch
          2 kB
          Brahma Reddy Battula
        2. MAPREDUCE-6395-002.patch
          2 kB
          Brahma Reddy Battula
        3. MAPREDUCE-6395.patch
          2 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            jira.shegalov Gera Shegalov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: