You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/05/02 21:22:06 UTC

[jira] [Commented] (HDFS-3892) Few static methods of MiniDFSCluster class incorrectly assume that it is a singleton

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

Hadoop QA commented on HDFS-3892:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12729953/HDFS-3892.01.patch |
| Optional Tests | javac unit findbugs checkstyle |
| git revision | trunk / 6ae2a0d |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/10718/console |


This message was automatically generated.

> 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
>            Assignee: Vlad Rozov
>            Priority: Minor
>         Attachments: HDFS-3892.01.patch, HDFS-3892.patch, HDFS-3892.patch.1
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)