hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable
Date Fri, 27 Apr 2012 23:00:48 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264070#comment-13264070
] 

Eli Collins commented on HDFS-3326:
-----------------------------------

+1 looks good. I'll commit this w/o jenkins since it's a trivial change.
                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 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