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 "Haibo Chen (JIRA)" <ji...@apache.org> on 2016/03/18 00:54:33 UTC
[jira] [Created] (YARN-4838) TestLogAggregationService.
testLocalFileDeletionOnDiskFull failed
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)