|
1393 | 1393 | </property> |
1394 | 1394 |
|
1395 | 1395 | <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> |
1433 | 1433 | </property> |
1434 | 1434 |
|
1435 | 1435 | <property> |
|
0 commit comments