incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-162) BspCase.setup() should catch FileNotFoundException thrown from org.apache.hadoop.fs.FileSystem.listStatus()
Date Wed, 21 Mar 2012 06:55:55 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234176#comment-13234176
] 

Hudson commented on GIRAPH-162:
-------------------------------

Integrated in Giraph-trunk-Commit #89 (See [https://builds.apache.org/job/Giraph-trunk-Commit/89/])
    GIRAPH-162: BspCase.setup() should catch FileNotFoundException thrown
from org.apache.hadoop.fs.FileSystem.listStatus() (ekoontz via
aching). (Revision 1303297)

     Result = SUCCESS
aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303297
Files : 
* /incubator/giraph/trunk/CHANGELOG
* /incubator/giraph/trunk/src/test/java/org/apache/giraph/BspCase.java

                
> 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

        

Mime
View raw message