[ 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)