[
https://issues.apache.org/jira/browse/HDFS-16015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343745#comment-17343745
]
zhu commented on HDFS-16015:
----------------------------
[~hexiaoqiao] Thank you a lot for your comments.
HDFS-13293 This problem seems to be solved by adding the Client IP to the audit
log, but reading and writing data selects the DN based on the Client IP, which
does not seem to be improved.
> RBF: Read and write data through router select dn according to real user ip
> ---------------------------------------------------------------------------
>
> Key: HDFS-16015
> URL: https://issues.apache.org/jira/browse/HDFS-16015
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: rbf
> Affects Versions: 3.3.1, 3.4.0
> Reporter: zhu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Read and write data through router select dn according to real user ip.
> relates to HDFS-13248
> *General train of thought:*
> 1. RouterRpcClient set the real user ip to CallerContext.
> 2. The Server processes the Rpc to check whether the CallerContext contains
> the real user ip field, if it contains the real user IP and verify the
> legitimacy of the ip, if the verification passes, set the real IP to the Call.
> 3. Modify the getClientMachine method, if there is a real user ip in the
> Call, return the real user ip, if it does not return the server to monitor
> the IP.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]