omalley commented on code in PR #5346:
URL: https://github.com/apache/hadoop/pull/5346#discussion_r1099074190


##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java:
##########
@@ -492,6 +492,7 @@ public Object invokeMethod(
     }
 
     addClientInfoToCallerContext();
+    addRealUserToCallerContext(ugi);

Review Comment:
   Let's add the user information in addClientInfoToCallerContext so that we 
only have to rebuild the caller context once.



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

Reply via email to