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

Restore previous state in container-executor after failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 2.9.2, 2.8.5, 2.7.8, 3.0.4, 3.1.2
    • None
    • None
    • Reviewed

    Description

      The container-executor function write_exit_code_file_as_nm had a number of failure conditions where it just returns -1 without restoring previous state.
      This is not a problem in any of the places where it is currently called, but it could be a problem if future code changes call it before code that depends on the previous state.

      Attachments

        1. YARN-8640-branch-2.8.002.patch
          4 kB
          Jim Brennan
        2. YARN-8640-branch-2.8.001.patch
          7 kB
          Jim Brennan
        3. YARN-8640-branch-2.7.002.patch
          5 kB
          Jim Brennan
        4. YARN-8640-branch-2.7.001.patch
          7 kB
          Jim Brennan
        5. YARN-8640.001.patch
          6 kB
          Jim Brennan

        Activity

          People

            jbrennan Jim Brennan
            jbrennan Jim Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: