Haibo Chen created YARN-4838:
--------------------------------

             Summary: TestLogAggregationService. 
testLocalFileDeletionOnDiskFull failed
                 Key: YARN-4838
                 URL: https://issues.apache.org/jira/browse/YARN-4838
             Project: Hadoop YARN
          Issue Type: Test
          Components: log-aggregation
            Reporter: Haibo Chen


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to