You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2019/02/13 12:30:00 UTC

[jira] [Commented] (HDFS-13955) RBF: Support secure Namenode in NamenodeHeartbeatService

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org