hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9259) FileSystemContractBaseTest should be less brittle in teardown
Date Mon, 25 Mar 2013 13:15:19 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Steve Loughran updated HADOOP-9259:

          Resolution: Fixed
            Assignee: Steve Loughran
    Target Version/s: 3.0.0
        Release Note: fixed in HADOOP-9258
              Status: Resolved  (was: Patch Available)
> FileSystemContractBaseTest should be less brittle in teardown
> -------------------------------------------------------------
>                 Key: HADOOP-9259
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9259
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 3.0.0, 1.1.2
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HDFS-4409.patch
> the teardown code in FileSystemContractBaseTest assumes that {{fs!=null}} and that it's
OK to throw an exception if the delete operation fails. Better to check the {{fs}} value and
catch and convert an exception in the {{fs.delete()}} operation to a {{LOG.error()}} instead.
> This will stop failures in teardown becoming a distraction from the root causes of the
problem (that your FileSystem is broken)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message