Skip to content

Commit 43edf5f

Browse files
committed
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
1 parent 7aa3ffe commit 43edf5f

File tree

2 files changed

+40
-37
lines changed

2 files changed

+40
-37
lines changed

hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,9 @@ Release 2.3.0 - UNRELEASED
465465
HDFS-5371. Let client retry the same NN when
466466
"dfs.client.test.drop.namenode.response.number" is enabled. (jing9)
467467

468+
HDFS-5467. Remove tab characters in hdfs-default.xml.
469+
(Shinichi Yamashita via Andrew Wang)
470+
468471
OPTIMIZATIONS
469472

470473
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)

hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,43 +1393,43 @@
13931393
</property>
13941394

13951395
<property>
1396-
<name>dfs.namenode.enable.retrycache</name>
1397-
<value>true</value>
1398-
<description>
1399-
This enables the retry cache on the namenode. Namenode tracks for
1400-
non-idempotent requests the corresponding response. If a client retries the
1401-
request, the response from the retry cache is sent. Such operations
1402-
are tagged with annotation @AtMostOnce in namenode protocols. It is
1403-
recommended that this flag be set to true. Setting it to false, will result
1404-
in clients getting failure responses to retried request. This flag must
1405-
be enabled in HA setup for transparent fail-overs.
1406-
1407-
The entries in the cache have expiration time configurable
1408-
using dfs.namenode.retrycache.expirytime.millis.
1409-
</description>
1410-
</property>
1411-
1412-
<property>
1413-
<name>dfs.namenode.retrycache.expirytime.millis</name>
1414-
<value>600000</value>
1415-
<description>
1416-
The time for which retry cache entries are retained.
1417-
</description>
1418-
</property>
1419-
1420-
<property>
1421-
<name>dfs.namenode.retrycache.heap.percent</name>
1422-
<value>0.03f</value>
1423-
<description>
1424-
This parameter configures the heap size allocated for retry cache
1425-
(excluding the response cached). This corresponds to approximately
1426-
4096 entries for every 64MB of namenode process java heap size.
1427-
Assuming retry cache entry expiration time (configured using
1428-
dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
1429-
enables retry cache to support 7 operations per second sustained
1430-
for 10 minutes. As the heap size is increased, the operation rate
1431-
linearly increases.
1432-
</description>
1396+
<name>dfs.namenode.enable.retrycache</name>
1397+
<value>true</value>
1398+
<description>
1399+
This enables the retry cache on the namenode. Namenode tracks for
1400+
non-idempotent requests the corresponding response. If a client retries the
1401+
request, the response from the retry cache is sent. Such operations
1402+
are tagged with annotation @AtMostOnce in namenode protocols. It is
1403+
recommended that this flag be set to true. Setting it to false, will result
1404+
in clients getting failure responses to retried request. This flag must
1405+
be enabled in HA setup for transparent fail-overs.
1406+
1407+
The entries in the cache have expiration time configurable
1408+
using dfs.namenode.retrycache.expirytime.millis.
1409+
</description>
1410+
</property>
1411+
1412+
<property>
1413+
<name>dfs.namenode.retrycache.expirytime.millis</name>
1414+
<value>600000</value>
1415+
<description>
1416+
The time for which retry cache entries are retained.
1417+
</description>
1418+
</property>
1419+
1420+
<property>
1421+
<name>dfs.namenode.retrycache.heap.percent</name>
1422+
<value>0.03f</value>
1423+
<description>
1424+
This parameter configures the heap size allocated for retry cache
1425+
(excluding the response cached). This corresponds to approximately
1426+
4096 entries for every 64MB of namenode process java heap size.
1427+
Assuming retry cache entry expiration time (configured using
1428+
dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
1429+
enables retry cache to support 7 operations per second sustained
1430+
for 10 minutes. As the heap size is increased, the operation rate
1431+
linearly increases.
1432+
</description>
14331433
</property>
14341434

14351435
<property>

0 commit comments

Comments
 (0)