Details
-
Bug
-
Status: Triage Needed
-
P2
-
Resolution: Fixed
-
2.13.0
-
None
Description
FileSystems.match method should be able to match a directory according to javadoc. Unlike HdfsFileSystems, LocalFileSystems behaves as I would so I'm assuming this is a bug on HdfsFileSystems side.
Current behavior:
HadoopFileSystem.match("hdfs:///tmp/dir") returns a MatchResult with an empty metadata
Expected behavior:
HadoopFileSystem.match("hdfs:///tmp/dir") returns a MatchResult with metadata about the directory
**
Attachments
Issue Links
- links to