Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService
testLocalFileDeletionOnDiskFull failed
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService.verifyLocalFileDeletion(TestLogAggregationService.java:232)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService.testLocalFileDeletionOnDiskFull(TestLogAggregationService.java:288)
The failure is caused by the time issue of DeletionService. DeletionService runs its only thread pool to delete files. When verfiyLocalFileDeletion() method checks file existence, it is possible that the FileDeletionTask has been executed by the thread pool in DeletionService.
Attachments
Issue Links
- duplicates
-
YARN-4168 Test TestLogAggregationService.testLocalFileDeletionOnDiskFull failing
- Resolved