[
https://issues.apache.org/jira/browse/HADOOP-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879000#comment-13879000
]
Haohui Mai commented on HADOOP-10252:
-------------------------------------
My concern is that it might not solve the HBase problem completely. Recently
{{HttpServer}} has gone through major surgeries for HTTPS support. For obvious
reason the deprecated code path is not very well tested.
I have spent reasonable amount of time to test the current code paths of the
{{HttpServer}} in NN / DN / JN / SNN in various configuration. In my opinion
the approach that HBASE-10336 takes might be a safer bet.
> HttpServer can't start if hostname is not specified
> ---------------------------------------------------
>
> Key: HADOOP-10252
> URL: https://issues.apache.org/jira/browse/HADOOP-10252
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.0.2-alpha
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> Fix For: 2.4.0
>
> Attachments: hadoop-10252.patch
>
>
> HADOOP-8362 added a checking to make sure configuration values are not null.
> By default, we don't specify the hostname for the HttpServer. So we could not
> start info server due to
> {noformat}
> 2014-01-22 08:43:05,969 FATAL [M:0;localhost:48573] master.HMaster(2187):
> Unhandled exception. Starting shutdown.
> java.lang.IllegalArgumentException: Property value must not be null
> at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
> at org.apache.hadoop.conf.Configuration.set(Configuration.java:958)
> at org.apache.hadoop.conf.Configuration.set(Configuration.java:940)
> at
> org.apache.hadoop.http.HttpServer.initializeWebServer(HttpServer.java:510)
> at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:470)
> at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:458)
> at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:412)
> at org.apache.hadoop.hbase.util.InfoServer.<init>(InfoServer.java:59)
> at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:584)
> at java.lang.Thread.run(Thread.java:722){noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)