You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2021/01/31 12:43:00 UTC

[jira] [Commented] (HBASE-25498) [Documentation] Add a comment when using Secure HTTP (HTTPS) for the Web UI

    [ https://issues.apache.org/jira/browse/HBASE-25498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275866#comment-17275866 ] 

Hudson commented on HBASE-25498:
--------------------------------

Results for branch master
	[build #200 on builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/200/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/200/General_20Nightly_20Build_20Report/]






(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/200/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/200/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> [Documentation] Add a comment when using Secure HTTP (HTTPS) for the Web UI
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-25498
>                 URL: https://issues.apache.org/jira/browse/HBASE-25498
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: wenhao
>            Assignee: wenhao
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-1
>
>
> When I configured https for the HBase web UI according to the document(set {{hbase.ssl.enabled}} to {{true}} in _hbase-site.xml_), there are the following errors:
> {quote}2021-01-29 11:25:19,360 ERROR [main] master.HMasterCommandLine: Master exiting2021-01-29 11:25:19,360 ERROR [main] master.HMasterCommandLine: Master exitingjava.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster.  at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2910) at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:236) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2921)Caused by: java.io.IOException: Problem starting http server at org.apache.hadoop.hbase.http.HttpServer.start(HttpServer.java:1006) at org.apache.hadoop.hbase.http.InfoServer.start(InfoServer.java:100) at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:2015) at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:627) at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:472) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2903) ... 5 moreCaused by: java.lang.IllegalStateException: no valid keystore
> {quote}
> According to the following link (https://community.cloudera.com/t5/Community-Articles/Enable-HTTPS-SSL-for-HBASE-Master-UI/ta-p/247031), I found that SSL certificate and SSL configuration are required. In the configuration document of hbase, we do not need to write a detailed configuration process, but we need to be reminded: only modifying the parameters according to the configuration steps will not take effect.
> I think we need to add hints to the document(Please prepare SSL certificate and ssl configuration file in advance):
> {quote}
> h3. 59.1. Using Secure HTTP (HTTPS) for the Web UI
> A default HBase install uses insecure HTTP connections for Web UIs for the master and region servers. To enable secure HTTP (HTTPS) connections instead, set {{hbase.ssl.enabled}} to {{true}} in _hbase-site.xml(Please prepare SSL certificate and ssl configuration file in advance)_.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)