hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lisheng Sun (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6524) Choosing datanode retries times considering with block replica number
Date Fri, 04 Oct 2019 04:47:00 GMT

    [ 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:


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

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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message