[ 
https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-7379:
-----------------------------
    Summary: TestBalancer#testBalancerWithRamDisk creates test files 
incorrectly  (was: Fix unit test TestBalancer#testBalancerWithRamDisk failure)

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

Reply via email to