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

Suresh Srinivas commented on HDFS-3892:
---------------------------------------

bq. There are several unit tests that create and start more than one 
MiniDFSCluster at the same time.
Since you have already done this analysis, can you please add information about 
the tests that are creating multiple MiniDFSClusters. 
                
> Few static methods of MiniDFSCluster class incorrectly assume that it is a 
> singleton
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-3892
>                 URL: https://issues.apache.org/jira/browse/HDFS-3892
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-alpha
>            Reporter: Vlad Rozov
>            Priority: Minor
>
> MiniDFSCluster class declares few methods including getBlockFile() and 
> getStorageDirPath() as static while MiniDFSCluster is not a singleton and 
> allows multiple instances. There are several unit tests that create and start 
> more than one MiniDFSCluster at the same time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to