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

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

                Author: ASF GitHub Bot
            Created on: 17/Jun/19 16:58
            Start Date: 17/Jun/19 16:58
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on issue #8849: [BEAM-7561] 
HdfsFileSystems.match can match a directory.
URL: https://github.com/apache/beam/pull/8849#issuecomment-502766545
 
 
   +1 on a standard suite of tests. Also, there is a ResourceIdTester (
   
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/fs/ResourceIdTester.java)
   which is meant to validate ResourceId objects returned. We may want to
   collapse the two together into one FileSystemTester.
   
   On Sat, Jun 15, 2019 at 8:00 AM Tim Robertson <[email protected]>
   wrote:
   
   > We should explore that. Can you please add the same test to
   > LocalFileSystem to verify it behaves the same in the meantime?
   >
   > —
   > You are receiving this because you are subscribed to this thread.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/beam/pull/8849?email_source=notifications&email_token=ACM4V3H7KI5IKATLZGQUJTDP2T7XJA5CNFSM4HX2CWRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYZ2JY#issuecomment-502373671>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/ACM4V3ESNOITGREF62SXADLP2T7XJANCNFSM4HX2CWRA>
   > .
   >
   
 
----------------------------------------------------------------
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: 261540)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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