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 49042200B46 for ; Sat, 16 Jul 2016 21:11:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43F39160A6C; Sat, 16 Jul 2016 19:11:22 +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 8BEBF160A52 for ; Sat, 16 Jul 2016 21:11:21 +0200 (CEST) Received: (qmail 31586 invoked by uid 500); 16 Jul 2016 19:11:20 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 31571 invoked by uid 99); 16 Jul 2016 19:11:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2016 19:11:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B7812C0372 for ; Sat, 16 Jul 2016 19:11:20 +0000 (UTC) Date: Sat, 16 Jul 2016 19:11:20 +0000 (UTC) From: "Varun Saxena (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 archived-at: Sat, 16 Jul 2016 19:11:22 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380901#comment-15380901 ] Varun Saxena commented on MAPREDUCE-6380: ----------------------------------------- [~lewuathe], why not simply catch FileNotFoundException in deleteOldLogDirsFrom method ? We are calling FileSystem#listStatus on the user log directory in this method anyways. Is the additional call to FileSystem#listStatusIterator in run() method required ? > 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 > Assignee: Kai Sasaki > Priority: Trivial > Attachments: MAPREDUCE-6380.01.patch, MAPREDUCE-6380.02.patch, MAPREDUCE-6380.03.patch, MAPREDUCE-6380.04.patch, MAPREDUCE-6380.05.patch, MAPREDUCE-6380.06.patch, MAPREDUCE-6380.07.patch > > > 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) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org