hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milan Desai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7335) Redundant checkOperation() in FSN.analyzeFileState()
Date Tue, 04 Nov 2014 20:44:52 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Milan Desai updated HDFS-7335:
------------------------------
    Attachment: HDFS-7335.patch

Attaching a patch that removes the checkOperation call in FSNamesystem.analyzeFileState. No
tests added as this change is trivial.

> Redundant checkOperation() in FSN.analyzeFileState()
> ----------------------------------------------------
>
>                 Key: HDFS-7335
>                 URL: https://issues.apache.org/jira/browse/HDFS-7335
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.5.1
>            Reporter: Konstantin Shvachko
>            Assignee: Milan Desai
>              Labels: newbie
>         Attachments: HDFS-7335.patch
>
>
> FSN.analyzeFileState() should not call checkOperation(). It is already properly checked
before the call. First time as READ category, second time as WRITE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message