Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24209

0 configuration Knox gateway support in SHS

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • Web UI

    Description

      SHS supports Knox gateway by setting spark.ui.proxyBase to the proper value. The main problem with this approach is that when spark.ui.proxyBase is set, SHS is not accessible anymore through direct access.

      Since Knox provides in the header X-Forwarded-Context the base URL to use (there is a patch available in KNOX-1295), we can leverage it in order to dynamically retrieve the right proxy base, instead of relying on a fixed config. In this way, both access via Knox proxy and via direct URL can work properly.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgaido Marco Gaido
            mgaido Marco Gaido
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment