Return-Path: X-Original-To: apmail-incubator-giraph-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-giraph-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 617E096E0 for ; Wed, 21 Mar 2012 06:46:10 +0000 (UTC) Received: (qmail 6810 invoked by uid 500); 21 Mar 2012 06:46:10 -0000 Delivered-To: apmail-incubator-giraph-dev-archive@incubator.apache.org Received: (qmail 6751 invoked by uid 500); 21 Mar 2012 06:46:09 -0000 Mailing-List: contact giraph-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: giraph-dev@incubator.apache.org Delivered-To: mailing list giraph-dev@incubator.apache.org Received: (qmail 6690 invoked by uid 99); 21 Mar 2012 06:46:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 06:46:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 06:46:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7D6DACE6B2 for ; Wed, 21 Mar 2012 06:45:46 +0000 (UTC) Date: Wed, 21 Mar 2012 06:45:46 +0000 (UTC) From: "Avery Ching (Commented) (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <167728457.40644.1332312346515.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <618146382.39468.1332288117477.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GIRAPH-162) BspCase.setup() should catch FileNotFoundException thrown from org.apache.hadoop.fs.FileSystem.listStatus() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GIRAPH-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234164#comment-13234164 ] Avery Ching commented on GIRAPH-162: ------------------------------------ Looks good. +1. I'm committing. > BspCase.setup() should catch FileNotFoundException thrown from org.apache.hadoop.fs.FileSystem.listStatus() > ----------------------------------------------------------------------------------------------------------- > > Key: GIRAPH-162 > URL: https://issues.apache.org/jira/browse/GIRAPH-162 > Project: Giraph > Issue Type: Bug > Components: test > Affects Versions: 0.2.0 > Reporter: Eugene Koontz > Fix For: 0.2.0 > > Attachments: GIRAPH-162.patch > > > In hadoop trunk, org.apache.hadoop.fs.FileSystem.listStatus() is declared to throws both FileNotFoundException and IOException. The former (FileNotFoundException) is currently not caught when BspCase.setup() looks for the GiraphJob.ZOOKEEPER_MANAGER_DIR_DEFAULT directory in order to delete it. The listStatus() call throws FileNotException if this directory does not exist and causes several tests to fail when using Hadoop trunk. This exception should be caught and ignored during setup(), since it's not an error for this directory not to exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira