HDFS-5467. Remove tab characters in hdfs-default.xml. Contributed by Shinichi Yamashita.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1540816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38a3b925e9
commit
2b3e1abcda
|
@ -465,6 +465,9 @@ Release 2.3.0 - UNRELEASED
|
||||||
HDFS-5371. Let client retry the same NN when
|
HDFS-5371. Let client retry the same NN when
|
||||||
"dfs.client.test.drop.namenode.response.number" is enabled. (jing9)
|
"dfs.client.test.drop.namenode.response.number" is enabled. (jing9)
|
||||||
|
|
||||||
|
HDFS-5467. Remove tab characters in hdfs-default.xml.
|
||||||
|
(Shinichi Yamashita via Andrew Wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)
|
||||||
|
|
|
@ -1393,43 +1393,43 @@
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.namenode.enable.retrycache</name>
|
<name>dfs.namenode.enable.retrycache</name>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
<description>
|
<description>
|
||||||
This enables the retry cache on the namenode. Namenode tracks for
|
This enables the retry cache on the namenode. Namenode tracks for
|
||||||
non-idempotent requests the corresponding response. If a client retries the
|
non-idempotent requests the corresponding response. If a client retries the
|
||||||
request, the response from the retry cache is sent. Such operations
|
request, the response from the retry cache is sent. Such operations
|
||||||
are tagged with annotation @AtMostOnce in namenode protocols. It is
|
are tagged with annotation @AtMostOnce in namenode protocols. It is
|
||||||
recommended that this flag be set to true. Setting it to false, will result
|
recommended that this flag be set to true. Setting it to false, will result
|
||||||
in clients getting failure responses to retried request. This flag must
|
in clients getting failure responses to retried request. This flag must
|
||||||
be enabled in HA setup for transparent fail-overs.
|
be enabled in HA setup for transparent fail-overs.
|
||||||
|
|
||||||
The entries in the cache have expiration time configurable
|
The entries in the cache have expiration time configurable
|
||||||
using dfs.namenode.retrycache.expirytime.millis.
|
using dfs.namenode.retrycache.expirytime.millis.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.namenode.retrycache.expirytime.millis</name>
|
<name>dfs.namenode.retrycache.expirytime.millis</name>
|
||||||
<value>600000</value>
|
<value>600000</value>
|
||||||
<description>
|
<description>
|
||||||
The time for which retry cache entries are retained.
|
The time for which retry cache entries are retained.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.namenode.retrycache.heap.percent</name>
|
<name>dfs.namenode.retrycache.heap.percent</name>
|
||||||
<value>0.03f</value>
|
<value>0.03f</value>
|
||||||
<description>
|
<description>
|
||||||
This parameter configures the heap size allocated for retry cache
|
This parameter configures the heap size allocated for retry cache
|
||||||
(excluding the response cached). This corresponds to approximately
|
(excluding the response cached). This corresponds to approximately
|
||||||
4096 entries for every 64MB of namenode process java heap size.
|
4096 entries for every 64MB of namenode process java heap size.
|
||||||
Assuming retry cache entry expiration time (configured using
|
Assuming retry cache entry expiration time (configured using
|
||||||
dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
|
dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
|
||||||
enables retry cache to support 7 operations per second sustained
|
enables retry cache to support 7 operations per second sustained
|
||||||
for 10 minutes. As the heap size is increased, the operation rate
|
for 10 minutes. As the heap size is increased, the operation rate
|
||||||
linearly increases.
|
linearly increases.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
|
|
Loading…
Reference in New Issue