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

Akira AJISAKA commented on YARN-2270:
-------------------------------------

I reproduced this issue locally. Using debugger, I found the cause was that 
NullPointerException occurred in {{FSDownload#getFileStatus}}.
{code}
      return statCache.get(path).get(); // statCache.get(path) returns null
{code}

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

Reply via email to