[
https://issues.apache.org/jira/browse/BEAM-7561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anonymous updated BEAM-7561:
----------------------------
Status: Triage Needed (was: Resolved)
> HdfsFileSystem is unable to match a directory
> ---------------------------------------------
>
> Key: BEAM-7561
> URL: https://issues.apache.org/jira/browse/BEAM-7561
> Project: Beam
> Issue Type: Bug
> Components: io-java-hadoop-file-system
> Affects Versions: 2.13.0
> Reporter: David Morávek
> Assignee: David Morávek
> Priority: P2
> Fix For: 2.14.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> [FileSystems.match|https://beam.apache.org/releases/javadoc/2.3.0/org/apache/beam/sdk/io/FileSystems.html#match-java.util.List-]
> 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
> **
--
This message was sent by Atlassian Jira
(v8.20.10#820010)