[ 
https://issues.apache.org/jira/browse/BEAM-7561?focusedWorklogId=262858&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-262858
 ]

ASF GitHub Bot logged work on BEAM-7561:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Jun/19 07:54
            Start Date: 19/Jun/19 07:54
    Worklog Time Spent: 10m 
      Work Description: dmvk commented on issue #8849: [BEAM-7561] 
HdfsFileSystems.match can match a directory.
URL: https://github.com/apache/beam/pull/8849#issuecomment-503450262
 
 
   @timrobertson100 I've added the very same test case for LocalFileSystems. It 
would be great if we could merge this before a 2.14 release cut. There is also 
a Jira issue for followup that should unify test cases across impls. Thanks!! D.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 262858)
    Time Spent: 1h  (was: 50m)

> 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 Moravek
>            Assignee: David Moravek
>            Priority: Major
>             Fix For: 2.14.0
>
>          Time Spent: 1h
>  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
(v7.6.3#76005)

Reply via email to