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

Decommissioning an NM results in a -1 exit code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • None
    • Reviewed

    Description

      In NodeManager.java we should exit normally in case the RM shuts down the node:

              } finally {
                if (shouldExitOnShutdownEvent
                    && !ShutdownHookManager.get().isShutdownInProgress()) {
                  ExitUtil.terminate(-1);
                }
              }
      

      Attachments

        1. YARN-6368.000.patch
          0.9 kB
          Miklos Szegedi
        2. YARN-6368.001.patch
          2 kB
          Miklos Szegedi
        3. YARN-6368.002.patch
          3 kB
          Miklos Szegedi
        4. YARN-6368.003.patch
          3 kB
          Miklos Szegedi
        5. YARN-6368.004.patch
          3 kB
          Miklos Szegedi

        Activity

          People

            miklos.szegedi@cloudera.com Miklos Szegedi
            miklos.szegedi@cloudera.com Miklos Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: