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:
-  <property name="hadoop.proxyuser.sri.groups" value="*"/>
-  <property name="hadoop.proxyuser.sri.hosts" value="*"/>
$ 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
$ hdfs dfs -ls
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

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