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

Mingliang Liu updated HDFS-10893:
---------------------------------
    Attachment: HDFS-10893.000.patch

The v0 patch:
- Sets up a global MiniDFSCluster for multiple test cases; and closes after 
tests
- Sets up test case specific directories
- Uses a dedicated root directory so that individual tests can launch another 
cluster without conflict

Some of the tests are still using local cluster(s) because 1) they need ad hoc 
configurations 2) they need to restart the cluster 3) they may pollute the 
cluster state.

> Refactor TestDFSShell by setting up MiniDFSCluser once for all commands test
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-10893
>                 URL: https://issues.apache.org/jira/browse/HDFS-10893
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: HDFS-10893.000.patch
>
>
> This is a minor change. It seems that setting up MiniDFSCluser once for all 
> commands test will reduce the total time.



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

Reply via email to