[
https://issues.apache.org/jira/browse/HDFS-8356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217275#comment-15217275
]
Akira AJISAKA commented on HDFS-8356:
-------------------------------------
Thanks [~rchiang] for the update. One comment from me.
* In dfs.namenode.replication.pending.timeout-sec, I'm thinking the timeout is
not capped at 300 seconds.
{code}
if (now > pendingBlock.getTimeStamp() + timeout) {
BlockInfo block = entry.getKey();
synchronized (timedOutItems) {
timedOutItems.add(block);
}
{code}
The interval between scans is capped.
{code}
long period = Math.min(DEFAULT_RECHECK_INTERVAL, timeout);
try {
pendingReplicationCheck();
Thread.sleep(period);
{code}
> Document missing properties in hdfs-default.xml
> -----------------------------------------------
>
> Key: HDFS-8356
> URL: https://issues.apache.org/jira/browse/HDFS-8356
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.7.0
> Reporter: Ray Chiang
> Assignee: Ray Chiang
> Labels: supportability, test
> Attachments: HDFS-8356.001.patch, HDFS-8356.002.patch,
> HDFS-8356.003.patch, HDFS-8356.004.patch, HDFS-8356.005.patch,
> HDFS-8356.006.patch, HDFS-8356.007.patch, HDFS-8356.008.patch,
> HDFS-8356.009.patch, HDFS-8356.010.patch, HDFS-8356.011.patch
>
>
> The following properties are currently not defined in hdfs-default.xml. These
> properties should either be
> A) documented in hdfs-default.xml OR
> B) listed as an exception (with comments, e.g. for internal use) in the
> TestHdfsConfigFields unit test
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)