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 "Benoy Antony (JIRA)" <ji...@apache.org> on 2014/06/03 22:16:02 UTC
[jira] [Created] (HADOOP-10659) Refactor AccessControlList to reuse
utility functions and to improve performance
Benoy Antony created HADOOP-10659:
-------------------------------------
Summary: Refactor AccessControlList to reuse utility functions and to improve performance
Key: HADOOP-10659
URL: https://issues.apache.org/jira/browse/HADOOP-10659
Project: Hadoop Common
Issue Type: Sub-task
Reporter: Benoy Antony
Assignee: Benoy Antony
Priority: Minor
Minor improvements can be done on _AccessControlList_.
Code Reusability:
_AccessControlList_ sanitizes the input list to remove duplicate entries, trim entries. _StringUtils.getTrimmedStringCollection_ can be used in this case.
Performance:
_AccessControlList_ uses TreeSet to maintain set of users and groups.
HashSet improves the performance slightly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)