[ https://issues.apache.org/jira/browse/YARN-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058639#comment-14058639 ]
Akira AJISAKA commented on YARN-2270: ------------------------------------- The above comment is wrong. I'm thinking the test fails because {{FSDownload#ancestorsHaveExecutePermissions}} returns false. I changed the permission of my home directory (/home/ajisakaa) from 700 to 701 and the test succeeded. > TestFSDownload#testDownloadPublicWithStatCache fails in trunk > ------------------------------------------------------------- > > Key: YARN-2270 > URL: https://issues.apache.org/jira/browse/YARN-2270 > Project: Hadoop YARN > Issue Type: Test > Reporter: Ted Yu > Assignee: Akira AJISAKA > Priority: Minor > > From https://builds.apache.org/job/Hadoop-yarn-trunk/608/console : > {code} > Running org.apache.hadoop.yarn.util.TestFSDownload > Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.955 sec <<< > FAILURE! - in org.apache.hadoop.yarn.util.TestFSDownload > testDownloadPublicWithStatCache(org.apache.hadoop.yarn.util.TestFSDownload) > Time elapsed: 0.137 sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at > org.apache.hadoop.yarn.util.TestFSDownload.testDownloadPublicWithStatCache(TestFSDownload.java:363) > {code} > Similar error can be seen here: > https://builds.apache.org/job/PreCommit-YARN-Build/4243//testReport/org.apache.hadoop.yarn.util/TestFSDownload/testDownloadPublicWithStatCache/ > Looks like future.get() returned null. -- This message was sent by Atlassian JIRA (v6.2#6252)