Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-522 [Umbrella] Better reporting for crashed/Killed AMs and Containers
  3. YARN-814

Difficult to diagnose a failed container launch when error due to invalid environment variable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    Description

      The container's launch script sets up environment variables, symlinks etc.

      If there is any failure when setting up the basic context ( before the actual user's process is launched ), nothing is captured by the NM. This makes it impossible to diagnose the reason for the failure.

      To reproduce, set an env var where the value contains characters that throw syntax errors in bash.

      Attachments

        1. YARN-814.patch
          9 kB
          Jian He
        2. YARN-814.7.patch
          21 kB
          Jian He
        3. YARN-814.6.patch
          19 kB
          Jian He
        4. YARN-814.5.patch
          14 kB
          Jian He
        5. YARN-814.4.patch
          12 kB
          Jian He
        6. YARN-814.3.patch
          11 kB
          Jian He
        7. YARN-814.2.patch
          11 kB
          Jian He
        8. YARN-814.1.patch
          11 kB
          Jian He

        Issue Links

          Activity

            People

              jianhe Jian He
              hitesh Hitesh Shah
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: