Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.0.0-alpha
-
Reviewed
Description
"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:
=====
this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT); LOG.info("Append Enabled: " + haEnabled);
NN logs
========
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