[ https://issues.apache.org/jira/browse/YARN-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418844#comment-15418844 ]
Gergely Novák commented on YARN-5475: ------------------------------------- This is a permission issue. Some observations: * testReadAcontainerLogs1 only fails if ran after testForCorruptedAggregatedLogs * TestAggregatedLogFormat's permissions: ** after testForCorruptedAggregatedLogs: rwxr-xr-x ** after testReadAcontainerLogs1 (if testForCorruptedAggregatedLogs ran): *rw-r-----* ** after testReadAcontainerLogs1 (if testForCorruptedAggregatedLogs did'n run) rwxr-xr-x * removing the line {{fs.mkdirs(subDir);}} from testReadAcontainerLog() seems to solve the issue > Test failed for TestAggregatedLogFormat on trunk > ------------------------------------------------ > > Key: YARN-5475 > URL: https://issues.apache.org/jira/browse/YARN-5475 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Junping Du > > From some jenkins run: > https://builds.apache.org/job/PreCommit-YARN-Build/12651/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-common.txt > The error message for the test is: > {noformat} > Tests run: 3, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 1.114 sec <<< > FAILURE! - in org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat > testReadAcontainerLogs1(org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat) > Time elapsed: 0.012 sec <<< ERROR! > java.io.IOException: Unable to create directory : > /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/TestAggregatedLogFormat/testReadAcontainerLogs1/srcFiles/application_1_0001/container_1_0001_01_000001/subDir > at > org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.getOutputStreamWriter(TestAggregatedLogFormat.java:403) > at > org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.writeSrcFile(TestAggregatedLogFormat.java:382) > at > org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.testReadAcontainerLog(TestAggregatedLogFormat.java:211) > at > org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.testReadAcontainerLogs1(TestAggregatedLogFormat.java:185) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org