hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled
Date Fri, 27 Apr 2012 22:56:48 GMT

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

Matthew Jacobs updated HDFS-3326:
---------------------------------

    Attachment: hdfs-3326.txt

Patch attached
                
> Even when dfs.support.append is set to true log message displays that the append is disabled
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in
non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA
Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append
Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message