hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad Rozov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3892) Few static methods of MiniDFSCluster class incorrectly assume that it is a singleton
Date Fri, 07 Sep 2012 14:46:07 GMT

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

Vlad Rozov commented on HDFS-3892:
----------------------------------

One of the tests that instantiate a second instance of MiniDFSCluster invalidating storage
directory for the first one is TestHDFSTrash. This test succeed only if testTrash() runs before
testTrashEnabledClientSide()or testTrashEnabledServerSide(). I'll file a separate bug once
I fix this one. Please assign HDFS-3892 to me.
                
> 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

Mime
View raw message