simbadzina opened a new pull request, #5346:
URL: https://github.com/apache/hadoop/pull/5346
HDFS-16901: RBF: Propagates real user's username via the caller context,
when a proxy user is being used.
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
If the router receives an operation from a proxyUser, it drops the realUser
in the UGI and makes the routerUser the realUser for the operation that goes to
the namenode.
In the namenode UGI logs, we'd like the ability to know the original
realUser.
The router should propagate the realUser from the client call as part of the
callerContext.
### How was this patch tested?
New test case : **TestRouterRpc#testRealUserPropagationInCallerContext**
### For code changes:
- [ X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]