hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7835) make initial sleeptime in locateFollowingBlock configurable for DFSClient.
Date Fri, 20 Mar 2015 06:15:38 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370821#comment-14370821
] 

zhihai xu commented on HDFS-7835:
---------------------------------

All these test failure are not related to my change.
TestTracing is reported at HDFS-7963
TestRetryCacheWithHA and TestEncryptionZonesWithKMS are passed at my latest local build:
{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.994 sec - in org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
Results :
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hdfs.TestEncryptionZonesWithKMS
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.67 sec - in org.apache.hadoop.hdfs.TestEncryptionZonesWithKMS
Results :
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
{code}

> make initial sleeptime in locateFollowingBlock configurable for DFSClient.
> --------------------------------------------------------------------------
>
>                 Key: HDFS-7835
>                 URL: https://issues.apache.org/jira/browse/HDFS-7835
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: dfsclient
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: HDFS-7835.000.patch, HDFS-7835.001.patch, HDFS-7835.002.patch
>
>
> Make initial sleeptime in locateFollowingBlock configurable for DFSClient.
> Current the sleeptime/localTimeout in locateFollowingBlock/completeFile from DFSOutputStream
is hard-coded as 400 ms, but retries can be configured by "dfs.client.block.write.locateFollowingBlock.retries".
We should also make the initial sleeptime configurable to give user more flexibility to control
both retry and delay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message