[jira] [Updated] (HDFS-7379) Fix unit test TestBalancer#testBalancerWithRamDisk failure on Windows
[ https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-7379: - Attachment: HDFS-7379.01.patch Fix unit test TestBalancer#testBalancerWithRamDisk failure on Windows - Key: HDFS-7379 URL: https://issues.apache.org/jira/browse/HDFS-7379 Project: Hadoop HDFS Issue Type: Bug Components: datanode Reporter: Xiaoyu Yao Assignee: Xiaoyu Yao 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 on certain windows test machines. The fix is to create file with different name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-7379) Fix unit test TestBalancer#testBalancerWithRamDisk failure on Windows
[ https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaoyu Yao updated HDFS-7379: - Description: 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. (was: 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 on certain windows test machines. The fix is to create file with different name. ) Fix unit test TestBalancer#testBalancerWithRamDisk failure on Windows - Key: HDFS-7379 URL: https://issues.apache.org/jira/browse/HDFS-7379 Project: Hadoop HDFS Issue Type: Bug Components: datanode Reporter: Xiaoyu Yao Assignee: Xiaoyu Yao 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)