[
https://issues.apache.org/jira/browse/HDFS-16015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhu updated HDFS-16015:
-----------------------
Description:
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.
was:
Read and write data through router select dn according to real user ip.
relates to HDFS-13248
*General train of thought:*
1.
> 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
> 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]