Description
To remove the cache of FileStatus in DFSPath (HADOOP-2565) without hurting performance, we must use file enumeration APIs that return FileStatus[] rather than Path[]. Currently we have FileSystem#globPaths(), but that method should be deprecated and replaced with a FileSystem#globStatus().
We need to deprecate FileSystem#globPaths() in 0.16 in order to remove the cache in 0.17.
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-2565 DFSPath cache of FileStatus can become stale
- Resolved
- relates to
-
HADOOP-2634 Deprecate exists() and isDir() to simplify ClientProtocol.
- Closed