You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2014/01/22 18:37:21 UTC
[jira] [Commented] (HADOOP-10252) HttpServer can't start if
hostname is not specified
[ https://issues.apache.org/jira/browse/HADOOP-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878878#comment-13878878 ]
Aaron T. Myers commented on HADOOP-10252:
-----------------------------------------
Patch looks good to me. +1 pending Jenkins.
> 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
> Reporter: Jimmy Xiang
> Assignee: Jimmy Xiang
> 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)