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 "Hudson (JIRA)" <ji...@apache.org> on 2014/11/07 22:41:34 UTC
[jira] [Commented] (HDFS-7379) TestBalancer#testBalancerWithRamDisk
creates test files incorrectly
[ https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202744#comment-14202744 ]
Hudson commented on HDFS-7379:
------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #6484 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6484/])
HDFS-7379. TestBalancer#testBalancerWithRamDisk creates test files incorrectly. Contributed by Xiaoyu Yao. (wheat9: rev 57760c0663288a7611c3609891ef92f1abf4bb53)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> TestBalancer#testBalancerWithRamDisk creates test files incorrectly
> -------------------------------------------------------------------
>
> Key: HDFS-7379
> URL: https://issues.apache.org/jira/browse/HDFS-7379
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.6.0
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Priority: Minor
> Fix For: 2.6.0
>
> Attachments: HDFS-7379.01.patch
>
>
> There is a copy-paste error during for test file creation. The test is supposed to create two test files named path1 and path2 on RAM_DISK. But The error caused path1 to be created twice with the second creation overwrite (delete) the first one on RAM_DISK. This caused verification failure for path2 as it never gets created. The fix is to create test files with the correct names.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)