Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 3E1A71784C for ; Thu, 17 Sep 2015 20:03:08 +0000 (UTC) Received: (qmail 71582 invoked by uid 500); 17 Sep 2015 20:03:05 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 71521 invoked by uid 500); 17 Sep 2015 20:03:05 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 71502 invoked by uid 99); 17 Sep 2015 20:03:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2015 20:03:04 +0000 Date: Thu, 17 Sep 2015 20:03:04 +0000 (UTC) From: "Tiago Bember (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6380) AggregatedLogDeletionService will throw exception when there are some other directories in remote-log-dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804384#comment-14804384 ] Tiago Bember commented on MAPREDUCE-6380: ----------------------------------------- How can I reproduce this issue? > AggregatedLogDeletionService will throw exception when there are some other directories in remote-log-dir > --------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-6380 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6380 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver > Reporter: Zhang Wei > Priority: Trivial > > AggregatedLogDeletionService will throw FileNotFoundException when there are some extraneous directories put in remote-log-dir. The deletion function will try to listStatus against the "extraneous-dir + suffix" dir. I think it would be better if the function can ignore these directories. -- This message was sent by Atlassian JIRA (v6.3.4#6332)