Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9951

Unify Error Messages in container-executor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
      None

      Description

      https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c

       

      Has several different ways for reporting errors:

       

      1. Couldn't
      2. Can't
      3. Could not
      4. Failed to
      5. Unable to
      6. Other

       

      I think "Failed to" is the best verbage.  Contractions are hard for non-native English speaking folks.  "Failed" is to the point. and more likely to grep logs for 'fail' than I am 'unable' or 'could not'.

        Attachments

        1. YARN-9951.1.patch
          27 kB
          David Mollitor
        2. YARN-9951.2.patch
          27 kB
          David Mollitor

          Activity

            People

            • Assignee:
              belugabehr David Mollitor
              Reporter:
              belugabehr David Mollitor
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: