J.Andreina created HDFS-3326: -------------------------------- Summary: 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 Fix For: 2.0.0, 3.0.0
"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