hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11079) Accelerate TestQuotaByStorageType using shared MiniDFSCluster
Date Wed, 02 Nov 2016 18:21:59 GMT

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

Arpit Agarwal commented on HDFS-11079:

Hi [~xiaobingo], I recommend leaving this as it is. Sharing the MiniDFSCluster can make debugging
very difficult when one test case leaves the cluster in a bad state causing a subsequent tests
case to fail. Also JUnit randomizes test case execution order so the failures are often non-deterministic.

The root problem is our over-reliance on MiniDFSCluster-based tests which is hard to fix.

> Accelerate TestQuotaByStorageType using shared MiniDFSCluster
> -------------------------------------------------------------
>                 Key: HDFS-11079
>                 URL: https://issues.apache.org/jira/browse/HDFS-11079
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
> When tests are added to TestQuotaByStorageType by HDFS-11065, it's been noticed that
it takes minutes to launch MiniDFSClusters for every tests. This tries to refactor the code
to use a static shared MiniDFSCluster to accelerate tests.

This message was sent by Atlassian JIRA

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

View raw message