hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9108) Add a method to clear terminateCalled to ExitUtil for test cases
Date Fri, 30 Nov 2012 12:41:58 GMT

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

Hudson commented on HADOOP-9108:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #451 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/451/])
    HADOOP-9108. Add a method to clear terminateCalled to ExitUtil for test cases (Kihwal
Lee via tgraves) (Revision 1415489)

     Result = UNSTABLE
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1415489
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ExitUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java

                
> Add a method to clear terminateCalled to ExitUtil for test cases
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9108
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9108
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.23.5
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>             Fix For: 0.23.6
>
>         Attachments: hadoop-9108.branch-0.23.patch
>
>
> Currently once terminateCalled is set, it will stay set since it's a class static variable.
This can break test cases where multiple test cases run in one jvm. In MiniDfsCluster, it
should be cleared during shutdown for the next test case to run properly.

--
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