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

Restore previous state in container-executor after failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 2.9.2, 2.8.5, 2.7.8, 3.0.4, 3.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.7.002.patch
          5 kB
          Jim Brennan
        3. YARN-8640-branch-2.8.001.patch
          7 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

            • Assignee:
              Jim_Brennan Jim Brennan
              Reporter:
              Jim_Brennan Jim Brennan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: