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

Allow CORS related headers to passthrough in WebAppProxyServlet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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.001.patch
          1 kB
          Varun Saxena
        2. YARN-3148.02.patch
          5 kB
          Varun Saxena
        3. YARN-3148.03.patch
          5 kB
          Varun Saxena
        4. YARN-3148.04.patch
          5 kB
          Varun Saxena

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: