Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2084 YARN to support REST APIs in AMs
  3. YARN-2031

YARN Proxy model doesn't support REST APIs in AMs

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:

      Description

      AMs can't support REST APIs because

      1. the AM filter redirects all requests to the proxy with a 302 response (not 307)
      2. the proxy doesn't forward PUT/POST/DELETE verbs

      Either the AM filter needs to return 307 and the proxy to forward the verbs, or Am filter should not filter a REST bit of the web site

        Attachments

        1. YARN-2031-005.patch
          28 kB
          Steve Loughran
        2. YARN-2031-004.patch
          28 kB
          Steve Loughran
        3. YARN-2031-003.patch
          28 kB
          Steve Loughran
        4. YARN-2031-002.patch
          37 kB
          Steve Loughran
        5. YARN-2031.patch.001
          2 kB
          Jonathan Maron

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                1 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated: