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-10228) FsPermission#fromShort() should cache FsAction.values()
Date Wed, 15 Jan 2014 11:09:34 GMT

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

Hudson commented on HADOOP-10228:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #453 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/453/])
HADOOP-10228. FsPermission#fromShort() should cache FsAction.values(). Contributed by Haohui
Mai. (cnauroth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1558139)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/FsPermission.java


> FsPermission#fromShort() should cache FsAction.values()
> -------------------------------------------------------
>
>                 Key: HADOOP-10228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10228
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.2.0
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>            Priority: Minor
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HADOOP-10228.000.patch
>
>
> FsPermission#fromShort() calls FsAction.values() every time, which causes unnecessary
performance penalty.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message