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

AM to be able to exit with a request saying "restart me with these (possibly updated) resource requirements"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      None

      Description

      If an AM wants to reconfigure itself or restart with new resources, there's no way to do this without the active participation of a client.

      It can call System.exit and rely on YARN to restart it -but that counts as a failure and may lose the entire app. furthermore, that doesn't allow the AM to resize itself.

      A simple exit-code to be interpreted as restart-without-failure could handle the first case; an explicit call to indicate restart, including potentially new resource/label requirements, could be more reliabile, and certainly more flexible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                varun_saxena Varun Saxena
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated: