Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-807

AppMasterLauncher to use resource limits provided by YARN to fail fast if AM resource ask too big

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Slider 0.70
    • Slider 2.0.0
    • client
    • None

    Description

      It turns out there's a way to get the information from YARN as to the max resource capabilities before asking for the AM.

      application = yarnClient.createApplication();
      application.getNewApplicationResponse().getMaximumResourceCapability();
      

      this can be used to validate the resource options before even asking YARN for the application

      Attachments

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: