You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/01/31 21:30:09 UTC
[jira] [Created] (HDFS-5860) Refactor INodeDirectory
getDirectoryXFeature methods to use common getFeature helper method.
Chris Nauroth created HDFS-5860:
-----------------------------------
Summary: Refactor INodeDirectory getDirectoryXFeature methods to use common getFeature helper method.
Key: HDFS-5860
URL: https://issues.apache.org/jira/browse/HDFS-5860
Project: Hadoop HDFS
Issue Type: Improvement
Components: namenode
Affects Versions: HDFS ACLs (HDFS-4685)
Reporter: Chris Nauroth
Priority: Minor
The HDFS-4685 feature branch has introduced a helper method for getting an inode feature of a particular class: {{INodeWithAdditionalFields#getFeature}}. Currently, this is only called by code related to ACLs, but we can also use the same method to reduce code duplication in the various {{INodeDirectory}} methods that get different kinds of features.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)