Skip to main content
apappu
Gold ⭐️
Gold ⭐️
February 7, 2017

Configure Knox to access HBASE UI

  • October 5, 2026 at 9:02 AM
  • 5 replies
  • 8457 views
  • Translate All

Here is the steps to access HBase UI through Knox. This is tried and tested with Ambari 2.4 and HDP2.5

1. Make sure Knox is configured properly and it works fine.

2. ssh to Knox gateway host and go to /var/lib/knox/data-2.5.3.0-37/services

3. download the configurations from https://github.com/apache/knox/tree/v0.11.0/gateway-service-definitions/src/main/resources/services/hbaseui/1.1.0/ URL.

4. make sure your folder structure should look alike /var/lib/knox/data-2.5.3.0-37/services/hbaseui/1.1.0 and should have rewrite.xml and service.xml files

5. change the owner/Group permissions to Knox for /var/lib/knox/data-2.5.3.0-37/services/hbaseui/ and subdirectory

6. Go to Knox configurations Modify "Advanced topology" with below service tag

<service>
<role>HBASEUI</role>
<url>http://HBASEMANTERHOST:16010</url>
</service>
<service>

7. Restart Knox service.

8. You should be able to access HBase UI from the below URL

https://Knxo-host:8443/gateway/default/hbase/webui/

Note: replace default with your correct 'identity-assertion'

5 replies

elserj
Gold ⭐️
Gold ⭐️
February 8, 2017

s/HBASEMANTERHOST/HBASEMASTERHOST/?

Users would be filling in the explicit hostname here, correct? Not the literal string "HBASEMASTERHOST".

Translate
xlingit
Silver ⭐️
May 25, 2017

@amarnath reddy papp

how to set(where to get) the access user and password?

15768-knox.png

Translate
pzampino
Gold ⭐️
Gold ⭐️
September 21, 2017

If you're using the Knox demo LDAP server, then try guest/guest-password. If this is a production installation, then it will depend on your installation.

Translate
xuyadonge
Silver ⭐️
September 21, 2017

I would like to know the gateway host is my host IP, why every time I visit are overtime leading to the connection is not on

Translate
lvazquez
Gold ⭐️
December 25, 2018

I followed this with HDP 2.6.5 and the HBaseUI became accessible in the given URL but has many errors and links not working inside.

I posted a question on how to fix this and then the answer resolving most of these issues here:

https://community.hortonworks.com/questions/231948/how-to-fix-knox-hbase-ui.html

You are welcome to test this and include these fixes in your article if you find it appropriate.

Best regards

Translate