You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/20 18:11:00 UTC
[jira] [Work logged] (HADOOP-17079) Optimize UGI#getGroups by
adding UGI#getGroupsSet
[ https://issues.apache.org/jira/browse/HADOOP-17079?focusedWorklogId=538590&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-538590 ]
ASF GitHub Bot logged work on HADOOP-17079:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 20/Jan/21 18:10
Start Date: 20/Jan/21 18:10
Worklog Time Spent: 10m
Work Description: amahussein opened a new pull request #2631:
URL: https://github.com/apache/hadoop/pull/2631
Porting to Hadoop-2.10 three commits related to Groups.
HADOOP-13965. Groups should be consistent in using default group mapp⦠[383aa9c](https://github.com/apache/hadoop/commit/383aa9c9f55983cdb1c225b2ed22f6f48616cb9c)
HDFS-13723. Occasional "Should be different group" error in TestRefre⦠[162228e](https://github.com/apache/hadoop/commit/162228e8db937d4bdb9cf61d15ed555f1c96368f)
HADOOP-17079. Optimize UGI#getGroups by adding UGI#getGroupsSet. [f91a8ad](https://github.com/apache/hadoop/commit/f91a8ad88b00b50231f1ae3f8820a25c963bb561) (#2085)
CC: @linyiqun @smengcl @xiaoyuyao @jojochuang @jbrennan333
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 538590)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Priority: Major
> Fix For: 3.4.0
>
> Attachments: HADOOP-17079.002.patch, HADOOP-17079.003.patch, HADOOP-17079.004.patch, HADOOP-17079.005.patch, HADOOP-17079.006.patch, HADOOP-17079.007.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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, especially the user's group membership list is huge (thousands+) . This ticket is opened to add a UGI#getGroupsSet and use Set#contains() instead of List#contains() to speed up large group look up while minimize List->Set conversions in Groups#getGroups() call.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org