Details
Description
FileSystem and FileContract aren't tested rigorously enough -while HDFS gets tested downstream, other filesystems, such as blobstore bindings, don't.
The only tests that are common are those of FileSystemContractTestBase, which HADOOP-9258 shows is incomplete.
I propose
- writing more tests which clarify expected behavior
- testing operations in the interface being in their own JUnit4 test classes, instead of one big test suite.
- Having each FS declare via a properties file what behaviors they offer, such as atomic-rename, atomic-delete, umask, immediate-consistency -test methods can downgrade to skipped test cases if a feature is missing.
Attachments
Attachments
Issue Links
- contains
-
HADOOP-10375 Local FS doesn't raise an error on mkdir() over a file
- Resolved
-
HADOOP-10589 NativeS3FileSystem throw NullPointerException when the file is empty
- Closed
- depends upon
-
HDFS-4258 Rename of Being Written Files
- Resolved
-
HADOOP-6240 Rename operation is not consistent between different implementations of FileSystem
- Closed
-
HADOOP-9432 Add support for markdown .md files in site documentation
- Closed
- incorporates
-
HADOOP-10419 BufferedFSInputStream NPEs on getPos() on a closed stream
- Closed
-
HADOOP-10533 S3 input stream NPEs in MapReduce job
- Closed
-
HADOOP-9495 Define behaviour of Seekable.seek(), write tests, fix all hadoop implementations for compliance
- Closed
-
HADOOP-10458 swifts should throw FileAlreadyExistsException on attempt to overwrite file
- Closed
- is depended upon by
-
HADOOP-10400 Incorporate new S3A FileSystem implementation
- Closed
- is related to
-
HDFS-6803 Documenting DFSClient#DFSInputStream expectations reading and preading in concurrent context
- Closed
-
HADOOP-9597 FileSystem open() API is not clear if FileNotFoundException is thrown when the path does not exist
- Closed
-
HADOOP-11708 CryptoOutputStream synchronization differences from DFSOutputStream break HBase
- Open
-
HADOOP-3257 Path should handle all characters
- Open
-
HADOOP-9702 FileSystem should fail create call with OverWrite and Append flags
- Resolved
-
HADOOP-10440 HarFsInputStream of HarFileSystem, when reading data, computing the position has bug
- Closed
-
HADOOP-10457 S3N NPEs if you do a read() after a seek() past the EOF
- Closed
-
HDFS-6193 HftpFileSystem open should throw FileNotFoundException for non-existing paths
- Patch Available
-
MAPREDUCE-5264 FileAlreadyExistsException is assumed to be thrown by FileSystem#mkdirs or FileContext#mkdir in the codebase
- Patch Available
-
HADOOP-8545 Filesystem Implementation for OpenStack Swift
- Closed
-
HDFS-4872 Idempotent delete operation.
- Open
-
HDFS-353 DFSClient does not always throw a FileNotFound exception when a file could not be opened
- Open
-
HDFS-6735 A minor optimization to avoid pread() be blocked by read() inside the same DFSInputStream
- Closed
-
HADOOP-9565 Add a Blobstore interface to add to blobstore FileSystems
- Patch Available
- relates to
-
HADOOP-10801 Fix dead link in site.xml
- Closed
-
HADOOP-9438 LocalFileContext does not throw an exception on mkdir for already existing directory
- Patch Available
-
HADOOP-12177 [Umbrella] Update and extend filesystem specification
- Open
-
HADOOP-7352 FileSystem#listStatus should throw IOE upon access error
- Resolved
-
HADOOP-12994 Specify PositionedReadable, add contract tests, fix problems
- Resolved
-
HDFS-303 Make contracts of LocalFileSystem and DistributedFileSystem consistent
- Resolved
-
HADOOP-7363 TestRawLocalFileSystemContract is needed
- Resolved
-
HADOOP-11417 review filesystem seek logic, clarify/confirm spec, test & fix compliance
- Open
-
HBASE-8722 Specify and document the FileSystem level behaviors required by HBase
- Closed