Details
Description
As discussed in HDFS-538, it would be better for FileSystem and its implementations to throw FileNotFoundException when the file is not found, rather than returning null. This will bring it in line with getFileStatus and, I expect, default user expectations.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-538 DistributedFileSystem::listStatus incorrectly returns null for empty result sets
- Closed
- is depended upon by
-
MAPREDUCE-895 FileSystem::ListStatus will now throw FileNotFoundException, MapRed needs updated
- Closed
- is related to
-
HADOOP-7352 FileSystem#listStatus should throw IOE upon access error
- Resolved