Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1295

X-Forwarded-Context contains not the full base path in SHS request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.1.0
    • None
    • None

    Description

      Knox can send the base path which may be useful for the proxied application in order to determine the proxy base URL and build the URLs accordingly. This may be useful in Spark History Server which may use this to determine the proxy base URL, instead of relying on an internal config (which prevents SHS to be consumed through direct URL anymore).

      The problem is that Knox currently in the X-Forwarded-Context doesn't send the full base path, but only the first part of it, eg. it sends X-Forwarded-Context: gateway/default instead of X-Forwarded-Context: gateway/default/sparkhistoryui.

      Attachments

        1. KNOX-1295.patch
          3 kB
          Attila Csoma

        Activity

          People

            csomaati Attila Csoma
            mgaido Marco Gaido
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: