You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2016/05/18 05:24:12 UTC
[jira] [Commented] (YARN-5108)
TestFileSystemApplicationHistoryStore fails
[ https://issues.apache.org/jira/browse/YARN-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288462#comment-15288462 ]
Brahma Reddy Battula commented on YARN-5108:
--------------------------------------------
It's dupe of HADOOP-13140..
> TestFileSystemApplicationHistoryStore fails
> -------------------------------------------
>
> Key: YARN-5108
> URL: https://issues.apache.org/jira/browse/YARN-5108
> Project: Hadoop YARN
> Issue Type: Test
> Reporter: Xuan Gong
>
> Unit test failure is found in other JIRA Jenkins test (YARN-5100):
> {noformat}
> Running org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore
> Tests run: 8, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 20.188 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore
> testMissingApplicationAttemptHistoryData(org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore) Time elapsed: 0.054 sec <<< ERROR!
> java.lang.NullPointerException: null
> at java.util.TreeMap.getEntry(TreeMap.java:347)
> at java.util.TreeMap.get(TreeMap.java:278)
> at org.apache.hadoop.fs.GlobalStorageStatistics.put(GlobalStorageStatistics.java:73)
> at org.apache.hadoop.fs.FileSystem.getStatistics(FileSystem.java:3598)
> at org.apache.hadoop.fs.FileSystem.initialize(FileSystem.java:214)
> at org.apache.hadoop.fs.RawLocalFileSystem.initialize(RawLocalFileSystem.java:101)
> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.initAndStartStore(TestFileSystemApplicationHistoryStore.java:70)
> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.setup(TestFileSystemApplicationHistoryStore.java:64)
> testMissingApplicationAttemptHistoryData(org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore) Time elapsed: 0.054 sec <<< ERROR!
> java.lang.NullPointerException: null
> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.tearDown(TestFileSystemApplicationHistoryStore.java:89)
> testInitNonExistingWorkingDirectoryInSafeMode(org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore) Time elapsed: 0.517 sec <<< FAILURE!
> org.mockito.exceptions.verification.WantedButNotInvoked:
> Wanted but not invoked:
> rawLocalFileSystem.isDirectory(<any>);
> -> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.testInitNonExistingWorkingDirectoryInSafeMode(TestFileSystemApplicationHistoryStore.java:304)
> However, there were other interactions with this mock:
> -> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.initAndStartStore(TestFileSystemApplicationHistoryStore.java:70)
> at org.apache.hadoop.yarn.server.applicationhistoryservice.TestFileSystemApplicationHistoryStore.testInitNonExistingWorkingDirectoryInSafeMode(TestFileSystemApplicationHistoryStore.java:304)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org