Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.2, 3.0.0-alpha1
-
None
-
None
-
-
fixed in
HADOOP-9258
Description
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)
Attachments
Attachments
Issue Links
- Is contained by
-
HADOOP-9258 Add stricter tests to FileSystemContractTestBase
- Closed
- is related to
-
HADOOP-13518 backport HADOOP-9258 to branch-2
- Resolved