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

Ted Yu commented on HBASE-10336:
--------------------------------

As QA reported, compilation against hadoop-1 failed:
{code}
+        throw new HadoopIllegalArgumentException("name is not set");
{code}
HadoopIllegalArgumentException is not in hadoop-1

Consider using IllegalArgumentException instead.

> Remove deprecated usage of Hadoop HttpServer in InfoServer
> ----------------------------------------------------------
>
>                 Key: HBASE-10336
>                 URL: https://issues.apache.org/jira/browse/HBASE-10336
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.99.0
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>         Attachments: HBASE-10336-1.patch, HBASE-10336-2.patch, 
> HBASE-10336-3.patch, HBASE-10336-4.patch, HBASE-10336-5.patch, 
> HBASE-10336-6.patch, HBASE-10336-7.patch
>
>
> Recent changes in Hadoop HttpServer give NPE when running on hadoop 
> 3.0.0-SNAPSHOT. This way we use HttpServer is deprecated and will probably be 
> not fixed (see HDFS-5760). We'd better move to the new proposed builder 
> pattern, which means we can no more use inheritance to build our nice 
> InfoServer.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to