[jira] [Updated] (HDFS-10431) Refactor Async DFS related tests to reuse shared instance of AsyncDistributedFileSystem instance to speed up tests

2016-05-25 Thread Xiaobing Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaobing Zhou updated HDFS-10431:
-
Description: 
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.

  was: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.


> Refactor Async DFS related tests to reuse shared instance of 
> AsyncDistributedFileSystem instance to speed up tests
> --
>
> Key: HDFS-10431
> URL: https://issues.apache.org/jira/browse/HDFS-10431
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: hdfs
>Reporter: Xiaobing Zhou
>Assignee: Xiaobing Zhou
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-10431) Refactor Async DFS related tests to reuse shared instance of AsyncDistributedFileSystem instance to speed up tests

2016-05-18 Thread Xiaobing Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaobing Zhou updated HDFS-10431:
-
Description: 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.  
(was: 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 creates separate 
instance of MiniDFSCluster and that of AsyncDistributedFileSystem hence. This 
is not efficient in that tests may take long time to bootstrap MiniDFSClusters. 
This proposes to do refactoring to use shared instance of 
AsyncDistributedFileSystem for speedup.)

> Refactor Async DFS related tests to reuse shared instance of 
> AsyncDistributedFileSystem instance to speed up tests
> --
>
> Key: HDFS-10431
> URL: https://issues.apache.org/jira/browse/HDFS-10431
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: hdfs
>Reporter: Xiaobing Zhou
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-10431) Refactor Async DFS related tests to reuse shared instance of AsyncDistributedFileSystem instance to speed up tests

2016-05-18 Thread Xiaobing Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaobing Zhou updated HDFS-10431:
-
Description: 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 
creates separate instance of MiniDFSCluster and that of 
AsyncDistributedFileSystem hence. This is not efficient in that tests may take 
long time to bootstrap MiniDFSClusters. This proposes to do refactoring to use 
shared instance of AsyncDistributedFileSystem for speedup.  (was: 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 creates separate instance of MiniDFSCluster 
and that of AsyncDistributedFileSystem hence. This is not efficient in that 
tests may take long time to bootstrap MiniDFSClusters. This proposes to do 
refactoring to use shared AsyncDistributedFileSystem)

> Refactor Async DFS related tests to reuse shared instance of 
> AsyncDistributedFileSystem instance to speed up tests
> --
>
> Key: HDFS-10431
> URL: https://issues.apache.org/jira/browse/HDFS-10431
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: hdfs
>Reporter: Xiaobing Zhou
>
> 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 creates separate 
> instance of MiniDFSCluster and that of AsyncDistributedFileSystem hence. This 
> is not efficient in that tests may take long time to bootstrap 
> MiniDFSClusters. 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-10431) Refactor Async DFS related tests to reuse shared instance of AsyncDistributedFileSystem instance to speed up tests

2016-05-18 Thread Xiaobing Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaobing Zhou updated HDFS-10431:
-
Summary: Refactor Async DFS related tests to reuse shared instance of 
AsyncDistributedFileSystem instance to speed up tests  (was: Refactor Async DFS 
related tests to reuse shared AsyncDistributedFileSystem instance to speed up 
tests)

> Refactor Async DFS related tests to reuse shared instance of 
> AsyncDistributedFileSystem instance to speed up tests
> --
>
> Key: HDFS-10431
> URL: https://issues.apache.org/jira/browse/HDFS-10431
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: hdfs
>Reporter: Xiaobing Zhou
>
> 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 creates separate 
> instance of MiniDFSCluster and that of AsyncDistributedFileSystem hence. This 
> is not efficient in that tests may take long time to bootstrap 
> MiniDFSClusters. This proposes to do refactoring to use shared 
> AsyncDistributedFileSystem



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

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