[
https://issues.apache.org/jira/browse/HADOOP-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878958#comment-13878958
]
Hudson commented on HADOOP-10252:
---------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #5032 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/5032/])
HADOOP-10252. HttpServer can't start if hostname is not specified. Contributed
by Jimmy Xiang. (atm:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1560450)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
> 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)