hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10893) Refactor TestDFSShell by setting up MiniDFSCluser once for all commands test
Date Tue, 27 Sep 2016 21:08:20 GMT

     [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message