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

Hadoop QA commented on YARN-3602:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |   5m 23s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 49s | There were no new javac warning 
messages. |
| {color:green}+1{color} | release audit |   0m 19s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   0m 39s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 35s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 32s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   1m  3s | The patch does not introduce 
any new Findbugs (version 2.0.3) warnings. |
| {color:red}-1{color} | yarn tests |   5m 40s | Tests failed in 
hadoop-yarn-server-nodemanager. |
| | |  23m  3s | |
\\
\\
|| Reason || Tests ||
| Failed unit tests | 
hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService
 |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12731497/YARN-3602.000.patch |
| Optional Tests | javac unit findbugs checkstyle |
| git revision | trunk / f4ebbc6 |
| hadoop-yarn-server-nodemanager test log | 
https://builds.apache.org/job/PreCommit-YARN-Build/7811/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-YARN-Build/7811/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf904.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-YARN-Build/7811/console |


This message was automatically generated.

> TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails 
> Intermittently due to IOException from cleanup
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3602
>                 URL: https://issues.apache.org/jira/browse/YARN-3602
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>            Priority: Minor
>              Labels: BB2015-05-TBR
>         Attachments: YARN-3602.000.patch
>
>
> ResourceLocalizationService.testPublicResourceInitializesLocalDir fails 
> Intermittently due to IOException from cleanup. The stack trace is the 
> following from test report at
> https://builds.apache.org/job/PreCommit-YARN-Build/7729/testReport/org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer/TestResourceLocalizationService/testPublicResourceInitializesLocalDir/
> {code}
> Error Message
> Unable to delete directory 
> target/org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService/2/filecache.
> Stacktrace
> java.io.IOException: Unable to delete directory 
> target/org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService/2/filecache.
>       at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541)
>       at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
>       at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
>       at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
>       at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
>       at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
>       at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.cleanup(TestResourceLocalizationService.java:187)
> {code}
> It looks like we can safely ignore the IOException in cleanup which is called 
> after test.
> The IOException may be due to the test machine environment because 
> TestResourceLocalizationService/2/filecache is created by 
> ResourceLocalizationService#initializeLocalDir.
> testPublicResourceInitializesLocalDir created 0/filecache, 1/filecache, 
> 2/filecache and 3/filecache
> {code}
>     for (int i = 0; i < 4; ++i) {
>       localDirs.add(lfs.makeQualified(new Path(basedir, i + "")));
>       sDirs[i] = localDirs.get(i).toString();
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to