You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Lisheng Sun (Jira)" <ji...@apache.org> on 2019/10/04 04:47:00 UTC
[jira] [Commented] (HDFS-6524) Choosing datanode retries times
considering with block replica number
[ https://issues.apache.org/jira/browse/HDFS-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944208#comment-16944208 ]
Lisheng Sun commented on HDFS-6524:
-----------------------------------
[~elgoiri]
In current code TestDFSClientRetries#testFailuresArePerOperation and TestDFSClientRetries#testDFSClientRetriesOnBusyBlocks have a replication factor of 1.
After updated patch TestDFSClientRetries#testFailuresArePerOperation have a replication of 1 and TestDFSClientRetries#testDFSClientRetriesOnBusyBlocks have replication factor of 3.
Both of these two replication factor are tested.
Please correct me if I was wrong. Thanks a lot [~elgoiri].
> Choosing datanode retries times considering with block replica number
> ----------------------------------------------------------------------
>
> Key: HDFS-6524
> URL: https://issues.apache.org/jira/browse/HDFS-6524
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Affects Versions: 3.0.0-alpha1
> Reporter: Liang Xie
> Assignee: Lisheng Sun
> Priority: Minor
> Labels: BB2015-05-TBR
> Attachments: HDFS-6524.001.patch, HDFS-6524.002.patch, HDFS-6524.003.patch, HDFS-6524.004.patch, HDFS-6524.005(2).patch, HDFS-6524.005.patch, HDFS-6524.006.patch, HDFS-6524.txt
>
>
> Currently the chooseDataNode() does retry with the setting: dfsClientConf.maxBlockAcquireFailures, which by default is 3 (DFS_CLIENT_MAX_BLOCK_ACQUIRE_FAILURES_DEFAULT = 3), it would be better having another option, block replication factor. One cluster with only two block replica setting, or using Reed-solomon encoding solution with one replica factor. It helps to reduce the long tail latency.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org