[ https://issues.apache.org/jira/browse/HDFS-14983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987567#comment-16987567 ]
Xieming Li commented on HDFS-14983: ----------------------------------- I have uploaded a patch that works, and I hope to get some feedback. I performed a very simple test on my environment. In core-site.xml I added: {code:java} - <property name="hadoop.proxyuser.sri.groups" value="*"/> - <property name="hadoop.proxyuser.sri.hosts" value="*"/> {code} {code:java} $ export HADOOP_PROXY_USER=dummyuser $ hdfs dfs -ls ls: User: sri@DEV is not allowed to impersonate dummyuser $ $ sudo hdfs dfsrouteradmin -refreshSuperUserGroupsConfiguration Successfully updated super user groups configuration on router 0.0.0.0:8111 $ $ hdfs dfs -ls {code} If everything looks okay, I will keep adding UnitTest, JavaDoc, Documentation. > RBF: Add dfsrouteradmin -refreshSuperUserGroupsConfiguration command option > --------------------------------------------------------------------------- > > Key: HDFS-14983 > URL: https://issues.apache.org/jira/browse/HDFS-14983 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: rbf > Reporter: Akira Ajisaka > Assignee: Xieming Li > Priority: Minor > Attachments: HDFS-14983.draft.001.patch > > > NameNode can update proxyuser config by -refreshSuperUserGroupsConfiguration > without restarting but DFSRouter cannot. It would be better for DFSRouter to > have such functionality to be compatible with NameNode. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org