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

Jimmy Xiang commented on HADOOP-10252:
--------------------------------------

Yes, HBase uses the deprecate constructor. It should work if it is not removed.

> 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)

Reply via email to