Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00FC617A1A for ; Thu, 23 Oct 2014 17:14:34 +0000 (UTC) Received: (qmail 52491 invoked by uid 500); 23 Oct 2014 17:14:33 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 52434 invoked by uid 500); 23 Oct 2014 17:14:33 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 52421 invoked by uid 99); 23 Oct 2014 17:14:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 17:14:33 +0000 Date: Thu, 23 Oct 2014 17:14:33 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-2734) If a sub-folder is encountered by log aggregator it results in invalid aggregated file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sumit Mohanty created YARN-2734: ----------------------------------- Summary: If a sub-folder is encountered by log aggregator it results in invalid aggregated file Key: YARN-2734 URL: https://issues.apache.org/jira/browse/YARN-2734 Project: Hadoop YARN Issue Type: Bug Components: log-aggregation Affects Versions: 2.5.1 Reporter: Sumit Mohanty Fix For: 2.6.0 See YARN-2724 for some more context on how the error surfaces during "yarn logs" call. If aggregator sees a sub-folder today it results in the following error when reading the logs: {noformat} Container: container_1413512973198_0019_01_000002 on c6401.ambari.apache.org_45454 ==================================================================================== LogType: cmd_data LogLength: 4096 Log Contents: Error aggregating log file. Log file : /hadoop/yarn/log/application_1413512973198_0019/container_1413512973198_0019_01_000002/cmd_data/hadoop/yarn/log/application_1413512973198_0019/container_1413512973198_0019_01_000002/cmd_data (Is a directory) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)