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

Eric Charles commented on HDFS-5760:
------------------------------------

Thx [~wheat9] for the feedback.

Although HDFS-5760-1.patch works well for hbase, it breaks hadoop.

I checked the o.a.h.h.u.InfoServer class, and rather than using inheritance, we 
could use composition, but we would need additional getters (will submit a 
patch proposal - see method fixupLogsServletLocation in [1])
[1] 
https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/InfoServer.java#L68
 


> Fix HttpServer construct
> ------------------------
>
>                 Key: HDFS-5760
>                 URL: https://issues.apache.org/jira/browse/HDFS-5760
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Eric Charles
>         Attachments: HDFS-5760-1.patch
>
>
> o.a.h.h.HttpServer can can be instanciated and configured:
> 1. Via classical constructor
> 2. Via static build method
> Those 2 methods don't populate the same way the (deprecated) hostname and 
> port, nor the jetty Connector.
> This gives issue when using hbase on hadoop3 (HBASE-6581)



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

Reply via email to