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-11079) TestQuotaByStorageType#setUp does not need refresh the cluster
Date Thu, 03 Nov 2016 06:32:58 GMT

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

Mingliang Liu updated HDFS-11079:
---------------------------------
    Resolution: Not A Problem
        Status: Resolved  (was: Patch Available)

Sorry I messed the code with my local changes when sharing the cluster. We need to keep the
{{refreshClusterState}} for getting the internal state (fsdir/dfs/fsn).

As we won't share cluster in this case, I simply close this as "not a problem".

Thanks Arpit and Xiaobing.

> TestQuotaByStorageType#setUp does not need refresh the cluster
> --------------------------------------------------------------
>
>                 Key: HDFS-11079
>                 URL: https://issues.apache.org/jira/browse/HDFS-11079
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>         Attachments: HDFS-11079.000.patch
>
>
> UPDATED:
> We don't need call {{refreshClusterState();}} after we build a brand new cluster in {{setUp()}}.
Let's remove it. Note that the cluster is NOT shared among multiple unit test cases.
> -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
(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