hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chengwei Wang (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-15630) RBF: Fix wrong client IP info in CallerContext when requests mount points with multi-destinations.
Date Thu, 22 Oct 2020 03:09:00 GMT

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

Chengwei Wang commented on HDFS-15630:
--------------------------------------

[~ferhui] [~elgoiri], thanks for comments.
{quote}Server.getCurCall().set(originCall); Is it necessary here?
{quote}
It's necessary for getting remote client ip through Server#getRemoteAddress();

Submit patch v006 [^HDFS-15630.006.patch] to  complete javadoc for transferThreadLocalContext().

 

> RBF: Fix wrong client IP info in CallerContext when requests mount points with multi-destinations.
> --------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15630
>                 URL: https://issues.apache.org/jira/browse/HDFS-15630
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>            Reporter: Chengwei Wang
>            Assignee: Chengwei Wang
>            Priority: Major
>         Attachments: HDFS-15630.001.patch, HDFS-15630.002.patch, HDFS-15630.003.patch,
HDFS-15630.004.patch, HDFS-15630.005.patch, HDFS-15630.006.patch, HDFS-15630.test.patch
>
>
> There are two issues about client IP info in CallerContext when we try to request mount
points with multi-destinations.
>  # the clientIp would duplicate in CallerContext when RouterRpcClient#invokeSequential.
>  # the clientIp would miss in CallerContext when RouterRpcClient#invokeConcurrent. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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