hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4408) FsAction operations shouldn't create new Objects
Date Thu, 16 Oct 2008 15:57:44 GMT

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

Hudson commented on HADOOP-4408:
--------------------------------

Integrated in Hadoop-trunk #635 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/635/])
    . FsAction functions need not create new objects.


> FsAction operations shouldn't create new Objects
> ------------------------------------------------
>
>                 Key: HADOOP-4408
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4408
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.16.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: 4408-0.patch
>
>
> FsAction::and and related operations use {{values()[<expr>]}}, referencing a member
var {{INDEX}}. This creates a new array object and uses member indices identical to {{ordinal()}}.
It should either keep a reference to {{values()}} and use {{ordinal()}} explicitly or observe
semantics consistent with {{INDEX}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message