You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Xiaoyu Yao (Jira)" <ji...@apache.org> on 2020/06/21 02:29:00 UTC

[jira] [Created] (HADOOP-17079) Optimize UGI#getGroups by adding UGI#getGroupsSet

Xiaoyu Yao created HADOOP-17079:
-----------------------------------

             Summary: Optimize UGI#getGroups by adding UGI#getGroupsSet
                 Key: HADOOP-17079
                 URL: https://issues.apache.org/jira/browse/HADOOP-17079
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


UGI#getGroups has been optimized with HADOOP-13442 by avoiding the List->Set->List conversion. However the returned list is not optimized to contains lookup. This ticket is opened to add a UGI#getGroupsSet and use Set#contains() instead of List#contains() to speed up large group look up. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org