Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22467

WebUI changes to enable Apache Knox UI proxying

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.5
    • UI
    • Reviewed

    Description

      Apache Knox's gateway is nice in that it can provide centralized authentication and authorization for a collection of service. Additionally, it can expose "private" nodes through a single point (e.g. a gateway). This makes our life as developers much easier in cloud deployments where it's not straightforward to access nodes (e.g. they're running on some private network).

      KNOX-1866 captures the changes over there required to make HBase's proxying actually work (definition lives there), but there were a few things we do in our UI which made it hard/impossible to proxy it correctly.

      • ProfilerServlet was dropping extra query parameters in the URL
      • JSON task output on master/regionserver couldn't be disambiguated
      • Some missing /master-status and /rs-statusĀ links couldn't be disambiguated properly due to a lack of context
      • Missing content-type set on a profiler servlet response

      Attachments

        1. HBASE-22467.001.patch
          7 kB
          Josh Elser
        2. HBASE-22467.002.patch
          9 kB
          Josh Elser
        3. HBASE-22467.003.patch
          10 kB
          Josh Elser

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: