[
https://issues.apache.org/jira/browse/HDFS-13955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767118#comment-16767118
]
Surendra Singh Lilhore commented on HDFS-13955:
-----------------------------------------------
Thanks [~brahmareddy] for patch.
{code:java}
+ this.webAddress = DFSUtil
+ .getInfoServer(NetUtils.createSocketAddr(rpcAddress), conf,
+ DFSUtil.getHttpClientScheme(conf)).toString();{code}
This change breaks the {{RouterWebHdfsMethods#forwardRequest(Router, String)}}
API, it expect webaddress in IP:PORT format but after this change webaddress
will be "schema://IP:PORT".
{{FederationUtil#getJmx()}} similar change is required in
{{RouterWebHdfsMethods#forwardRequest()}} also.
> RBF: Support secure Namenode in NamenodeHeartbeatService
> --------------------------------------------------------
>
> Key: HDFS-13955
> URL: https://issues.apache.org/jira/browse/HDFS-13955
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Íñigo Goiri
> Assignee: Sherwood Zheng
> Priority: Major
> Attachments: HDFS-13955-HDFS-13532.000.patch,
> HDFS-13955-HDFS-13532.001.patch
>
>
> Currently, the NamenodeHeartbeatService uses JMX to get the metrics from the
> Namenodes. We should support HTTPs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]