hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10659) Refactor AccessControlList to reuse utility functions and to improve performance
Date Tue, 24 Jun 2014 00:50:26 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041539#comment-14041539
] 

Hudson commented on HADOOP-10659:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5756 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5756/])
HADOOP-10659. Refactor AccessControlList to reuse utility functions and to improve performance.
(Contributed by Benoy Antony) (arp: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1604955)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/AccessControlList.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java


> 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
>          Components: security
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HADOOP-10659.patch
>
>
> 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)

Mime
View raw message