incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-2513) Update hdfs-site config to new 'stale' configuration used in hadoop 1.2+
Date Thu, 27 Jun 2013 17:36:20 GMT
Nate Cole created AMBARI-2513:
---------------------------------

             Summary: Update hdfs-site config to new 'stale' configuration used in hadoop
1.2+
                 Key: AMBARI-2513
                 URL: https://issues.apache.org/jira/browse/AMBARI-2513
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.2.3
            Reporter: Nate Cole
            Assignee: Nate Cole
             Fix For: 1.2.5


In Hadoop 1.2 which is shipped with HDP 1.3, the configuration in hdfs-site.xml for detecting
stale nodes has changed. Ambari still exposed the configuration for Hadoop 1.1.
The old configuration needs to be removed:
<!-- stale mode - branch 1.1.1+ -->
<property>
<name>dfs.namenode.check.stale.datanode</name>
<value>true</value>
</property>
And replaced with the new configuration switches:
<!-- stale mode - 1.2+ -->
<property>
<name>dfs.namenode.avoid.read.stale.datanode</name>
<value>true</value>
</property>
<property>
<name>dfs.namenode.avoid.write.stale.datanode</name>
<value>true</value>
</property>
<property>
<name>dfs.namenode.write.stale.datanode.ratio</name>
<value>1.0f</value>
</property>
<property>
<name>dfs.namenode.stale.datanode.interval</name>
<value>30000</value>
<description>Datanode is stale after not getting a heartbeat in this interval in ms</description>
</property>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message