-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.0, 3.0.0-alpha4, 2.8.6
-
Component/s: fs
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
In FileSystemContractBaseTest::tearDown() method, it cleans up the path("/test") directory, which will be qualified as /test (against root instead of working directory because it's absolute):
@Override protected void tearDown() throws Exception { try { if (fs != null) { fs.delete(path("/test"), true); } } catch (IOException e) { LOG.error("Error deleting /test: " + e, e); } }
But in the test, it uses path("test") sometimes, which will be made qualified against the working directory (e.g. /user/bob/test).
This makes some tests fail intermittently, e.g. ITestS3AFileSystemContract. Also see the discussion in HADOOP-13934.
- breaks
-
HADOOP-14192 Aliyun OSS FileSystem contract test should implement getTestBaseDir()
-
- Resolved
-
- contains
-
HADOOP-16160 TestAdlFileSystemContractLive fails in branch-2.8
-
- Resolved
-
- is related to
-
HADOOP-14180 FileSystem contract tests to replace JUnit 3 with 4
-
- Resolved
-
- relates to
-
HADOOP-14036 S3Guard: intermittent duplicate item keys failure
-
- Resolved
-