hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7478) Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem
Date Fri, 05 Dec 2014 06:36:13 GMT

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

Mime
View raw message