hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6497) Make TestAvailableSpaceVolumeChoosingPolicy deterministic
Date Fri, 06 Jun 2014 23:50:02 GMT

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

Hudson commented on HDFS-6497:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5661 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5661/])
HDFS-6497. Make TestAvailableSpaceVolumeChoosingPolicy deterministic (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601035)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/TestAvailableSpaceVolumeChoosingPolicy.java


> Make TestAvailableSpaceVolumeChoosingPolicy deterministic
> ---------------------------------------------------------
>
>                 Key: HDFS-6497
>                 URL: https://issues.apache.org/jira/browse/HDFS-6497
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.5.0
>
>         Attachments: HDFS-6497.001.patch
>
>
> We should make TestAvailableSpaceVolumeChoosingPolicy deterministic to avoid random failures.
 We can do this by setting the seed for the random number generator explicitly in the test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message