zeekling commented on code in PR #6982:
URL: https://github.com/apache/hadoop/pull/6982#discussion_r1705762529
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java:
##########
@@ -1364,7 +1364,12 @@ public int genericRefresh(String[] argv, int i) throws
IOException {
* @throws IOException if the operation was not successful.
*/
private int refreshCallQueue() throws IOException {
+ // for security authorization
+ // server principal for this call
+ // should be Routers's one.
Configuration conf = getConf();
+ conf.set(CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY,
Review Comment:
Why i did not found HADOOP_SECURITY_SERVICE_USER_NAME_KEY in
CommonConfigurationKeys?
--
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]