[ 
https://issues.apache.org/jira/browse/HDFS-17452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871382#comment-17871382
 ] 

ASF GitHub Bot commented on HDFS-17452:
---------------------------------------

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?





> DfsRouterAdmin RefreshCallQueue fails when authorization is enabled
> -------------------------------------------------------------------
>
>                 Key: HDFS-17452
>                 URL: https://issues.apache.org/jira/browse/HDFS-17452
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 3.3.6
>            Reporter: Ananya Singh
>            Assignee: Ananya Singh
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to