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

Allow CORS related headers to passthrough in WebAppProxyServlet

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      currently the WebAppProxyServlet filters the request headers as defined by passThroughHeaders. Tez UI is building a webapp which using rest api to fetch data from the am via the rm tracking url.

      for this purpose it would be nice to have additional headers allowed especially the ones related to CORS. A few of them that would help are

      • Origin
      • Access-Control-Request-Method
      • Access-Control-Request-Headers

        Attachments

        1. YARN-3148.04.patch
          5 kB
          Varun Saxena
        2. YARN-3148.03.patch
          5 kB
          Varun Saxena
        3. YARN-3148.02.patch
          5 kB
          Varun Saxena
        4. YARN-3148.001.patch
          1 kB
          Varun Saxena

          Activity

            People

            • Assignee:
              varun_saxena Varun Saxena
              Reporter:
              pramachandran Prakash Ramachandran
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: