[jira] [Commented] (HDFS-7379) Fix unit test TestBalancer#testBalancerWithRamDisk failure

2014-11-07 Thread Haohui Mai (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202549#comment-14202549
 ] 

Haohui Mai commented on HDFS-7379:
--

+1 pending jenkins


 Fix unit test TestBalancer#testBalancerWithRamDisk failure
 --

 Key: HDFS-7379
 URL: https://issues.apache.org/jira/browse/HDFS-7379
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: datanode
Affects Versions: 2.6.0
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)


[jira] [Commented] (HDFS-7379) Fix unit test TestBalancer#testBalancerWithRamDisk failure

2014-11-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202685#comment-14202685
 ] 

Hadoop QA commented on HDFS-7379:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680234/HDFS-7379.01.patch
  against trunk revision 2ac1be7.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The test build failed in 
hadoop-hdfs-project/hadoop-hdfs 

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/8691//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/8691//console

This message is automatically generated.

 Fix unit test TestBalancer#testBalancerWithRamDisk failure
 --

 Key: HDFS-7379
 URL: https://issues.apache.org/jira/browse/HDFS-7379
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: datanode
Affects Versions: 2.6.0
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)


[jira] [Commented] (HDFS-7379) Fix unit test TestBalancer#testBalancerWithRamDisk failure

2014-11-07 Thread Haohui Mai (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14202691#comment-14202691
 ] 

Haohui Mai commented on HDFS-7379:
--

The test failures are unrelated. I'll commit this shortly.

 Fix unit test TestBalancer#testBalancerWithRamDisk failure
 --

 Key: HDFS-7379
 URL: https://issues.apache.org/jira/browse/HDFS-7379
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: datanode
Affects Versions: 2.6.0
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)