Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43D6F112A6 for ; Tue, 1 Jul 2014 14:57:26 +0000 (UTC) Received: (qmail 41911 invoked by uid 500); 1 Jul 2014 14:57:25 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 41788 invoked by uid 500); 1 Jul 2014 14:57:24 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 41524 invoked by uid 99); 1 Jul 2014 14:57:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 14:57:24 +0000 Date: Tue, 1 Jul 2014 14:57:24 +0000 (UTC) From: "Mit Desai (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-2240) yarn logs can get corrupted if the aggregator does not have permissions to the log file it tries to read MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mit Desai created YARN-2240: ------------------------------- Summary: yarn logs can get corrupted if the aggregator does not have permissions to the log file it tries to read Key: YARN-2240 URL: https://issues.apache.org/jira/browse/YARN-2240 Project: Hadoop YARN Issue Type: Bug Affects Versions: 2.5.0 Reporter: Mit Desai When the log aggregator is aggregating the logs, it writes the file length first. Then tries to open the log file and if it does not have permission to do that, it ends up just writing an error message to the aggregated logs. The mismatch between the file length and the actual length here makes the aggregated logs corrupted. -- This message was sent by Atlassian JIRA (v6.2#6252)