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

HbaseUI>Table Details not accessible from Knox endpoint intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Server
    • None

    Description

      This is due to the SSO logic that checks for originalURL query param.

      During the first login, this is the redirect URL:

      https://local.site/gateway/knoxsso/api/v1/websso?originalUrl=https://local.site/gateway/proxy/hbase/webui/master?host=local.site&port=16010

      When this reaches WebSSOResource.getOriginalUrlFromQueryParams() functionvalue of request.getParameter(ORIGINAL_URL_REQUEST_PARAM) is

      https://local.site/gateway/proxy/hbase/webui/master?host=local.site
      Note: port information is missing. This is because of the & query param which treats port as a separate param and not part of original URL.

      Also, because of the same reason '?' is added after the host, this is where it is done

      This is why additional ? gets added.

      Attachments

        Issue Links

          Activity

            People

              smore Sandeep More
              smore Sandeep More
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m