- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 08-12-2016 01:09 AM
Here is the steps to enable HTTPS for HBASE Master UI.
1. Add following properties in "Custom hbase-site"
hbase.ssl.enabled=true hbase.http.policy=HTTPS_ONLY hadoop.ssl.enabled=true
2. In HBASE, there is no direct option to add/configure the keystore files (JKS), it uses HADOOP configurations files. Lets say If HTTPS is already enabled for HDFS Web UI then your host would have already configured with JKS files in ssl-server.xml and ssl-client.xml files, so HBASE also uses same ssl-server.xml files.
You can find more details to configure HTTPS for HDFS at https://community.hortonworks.com/articles/52875/enable-https-for-hdfs.html
3. If you are planning to have different JKS files for HDFS and HBASE then you can copy the the ssl-server.xml to /etc/hbase/conf path and configure the JKS file.
Restart HBASE server and server should come fine and should be accessable https://HOSTNAME:16010/
Note:Please note that there is a bug in AMBARI because of that HBASE quick always try to open with HTTP,you may have to change the protocol and then access.
Created on 08-12-2016 01:11 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Here is also a good article:
Created on 08-26-2016 03:14 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @apappu,
Thank you for this great article. 😄
I have 1 question thou, after enabling HTTPS for hbase, my Master HBase became Standby Master in Ambari.
Do you have any idea on how to remove the 'Standby'?
Thanks!
Note: I only have 1 master HBase.
Created on 08-29-2016 01:39 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I have same problem, in my case, hbase log file shows error below:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Created on 08-30-2016 10:01 PM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
There is a bug in Ambari - it is trying to read the HBase JMS properties in http rather than using HTTPS. i don't see any issue at the HBase side. those errors are when Ambari try to connect using HTTP it complains that some one is connecting using http.
I am yet to raise JIRA/bug for this in Ambari - i will create one today.