[
https://issues.apache.org/jira/browse/HDFS-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235164#comment-14235164
]
Haohui Mai commented on HDFS-7478:
----------------------------------
{code}
+ private static class NNConf {
+ /**
+ * Support for ACLs is controlled by a configuration flag. If the
+ * configuration flag is false, then the NameNode will reject all
+ * ACL-related operations.
+ */
+ private final boolean aclsEnabled;
+
{code}
Let's just inline the configuration and function into {{FSNamesystem}} directly
instead of having a inner static class.
> Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem
> ------------------------------------------------------------------
>
> Key: HDFS-7478
> URL: https://issues.apache.org/jira/browse/HDFS-7478
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Li Lu
> Assignee: Li Lu
> Attachments: HDFS-7478-120414.patch
>
>
> The NNConf class appears to be straightforward and is only used by
> FSNamesystem. We may want to move it into FSNamesystem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)