hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12579) JournalNodeSyncer should use fromUrl field of EditLogManifestResponse to construct servlet Url
Date Wed, 25 Oct 2017 21:22:01 GMT

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

Arpit Agarwal commented on HDFS-12579:
--------------------------------------

+1. The test failure looks unrelated and passed locally.

I will commit this shortly.

> JournalNodeSyncer should use fromUrl field of EditLogManifestResponse to construct servlet
Url
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12579
>                 URL: https://issues.apache.org/jira/browse/HDFS-12579
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>         Attachments: HDFS-12579.001.patch
>
>
> Currently in JournalNodeSyncer, we construct the remote JN http server url using the
JN host address and the http port that we get from the {{GetEditLogManifestResponseProto}}.
> {code}
>           if (remoteJNproxy.httpServerUrl == null) {
>             remoteJNproxy.httpServerUrl = getHttpServerURI("http",
>                 remoteJNproxy.jnAddr.getHostName(), response.getHttpPort());
>           }
> {code}
> The correct way would be to get the http server url of the remote JN from the {{fromUrl}}
field of the {{GetEditLogManifestResponseProto}}. This would take care of the http policy
set on the remote JN as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message