Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 47834200B62 for ; Fri, 12 Aug 2016 15:44:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 462CC160AB6; Fri, 12 Aug 2016 13:44:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D7B7160A85 for ; Fri, 12 Aug 2016 15:44:22 +0200 (CEST) Received: (qmail 54619 invoked by uid 500); 12 Aug 2016 13:44:21 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 54295 invoked by uid 99); 12 Aug 2016 13:44:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2016 13:44:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 996FB2C02B1 for ; Fri, 12 Aug 2016 13:44:20 +0000 (UTC) Date: Fri, 12 Aug 2016 13:44:20 +0000 (UTC) From: =?utf-8?Q?Gergely_Nov=C3=A1k_=28JIRA=29?= To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5475) Test failed for TestAggregatedLogFormat on trunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 12 Aug 2016 13:44:23 -0000 [ https://issues.apache.org/jira/browse/YARN-5475?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15418= 844#comment-15418844 ]=20 Gergely Nov=C3=A1k commented on YARN-5475: ------------------------------------- This is a permission issue. Some observations: * testReadAcontainerLogs1 only fails if ran after testForCorruptedAggregate= dLogs * TestAggregatedLogFormat's permissions: ** after testForCorruptedAggregatedLogs: rwxr-xr-x=20 ** after testReadAcontainerLogs1 (if testForCorruptedAggregatedLogs ran): *= rw-r-----* ** after testReadAcontainerLogs1 (if testForCorruptedAggregatedLogs did'n r= un) rwxr-xr-x * removing the line {{fs.mkdirs(subDir);}} from testReadAcontainerLog() see= ms 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_had= oop-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.TestAggregatedLogF= ormat > testReadAcontainerLogs1(org.apache.hadoop.yarn.logaggregation.TestAggrega= tedLogFormat) 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_00= 0001/subDir > =09at org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.getOu= tputStreamWriter(TestAggregatedLogFormat.java:403) > =09at org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.write= SrcFile(TestAggregatedLogFormat.java:382) > =09at org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.testR= eadAcontainerLog(TestAggregatedLogFormat.java:211) > =09at org.apache.hadoop.yarn.logaggregation.TestAggregatedLogFormat.testR= eadAcontainerLogs1(TestAggregatedLogFormat.java:185) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org