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

Unify Error Messages in container-executor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.2.0
    • None
    • nodemanager
    • 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

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

            Dates

              Created:
              Updated: