[ https://issues.apache.org/jira/browse/YARN-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohith Sharma K S resolved YARN-5108. ------------------------------------- Resolution: Duplicate After HADOOP-13140, this test is passing in all the build. Closing as duplicate. Feel free to reopen the JIRA if it fails in jenkins or local machine. > 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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org