hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10431) Refactor and speedup TestAsyncDFSRename
Date Sat, 04 Jun 2016 01:34:59 GMT

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

Hudson commented on HDFS-10431:
-------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #9913 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9913/])
Revert "HDFS-10431 Refactor and speedup TestAsyncDFSRename.  Contributed (wang: rev 5ee5912ebd541d5b4c33ecd46dfdebe1e23b56c3)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestAsyncDFSRename.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestAsyncDFS.java


> Refactor and speedup TestAsyncDFSRename
> ---------------------------------------
>
>                 Key: HDFS-10431
>                 URL: https://issues.apache.org/jira/browse/HDFS-10431
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>             Fix For: HDFS-9924
>
>         Attachments: HDFS-10431-HDFS-9924.000.patch, HDFS-10431-HDFS-9924.001.patch
>
>
> 1. Move irrelevant parts out of TestAsyncDFSRename
> 2. Limit of max async calls(i.e. ipc.client.async.calls.max) is set and cached in ipc.Client.
Client instances are cached based on SocketFactory. In order to test different cases in various
limits, every test (e.g. TestAsyncDFSRename and TestAsyncDFS) creates separate instance of
MiniDFSCluster and that of AsyncDistributedFileSystem hence. This is not efficient in that
tests may take long time to bootstrap MiniDFSClusters. It's even worse if cluster needs to
restart in the middle. This proposes to do refactoring to use shared instance of AsyncDistributedFileSystem
for speedup.



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

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


Mime
View raw message