[ https://issues.apache.org/jira/browse/HDFS-15344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102786#comment-17102786 ]
Xiaoyu Yao commented on HDFS-15344: ----------------------------------- Also find a similar issue in RouterPermissionChecker#checkSuperuserPrivilege. It could be fixed in the same patch but decide to open a separate so that we can have a clean backport to branch-2 without router feature in future. > DataNode#checkSuperuserPrivilege should use UGI#getGroups after HADOOP-13442 > ---------------------------------------------------------------------------- > > Key: HDFS-15344 > URL: https://issues.apache.org/jira/browse/HDFS-15344 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.7.5 > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Priority: Major > > HADOOP-13442 added UGI#getGroups to avoid list->array->list conversions. This > ticket is opened to change DataNode#checkSuperuserPrivilege to use > UGI#getGroups. -- 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