Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7561

HdfsFileSystem is unable to match a directory

Details

    • Bug
    • Status: Triage Needed
    • P2
    • Resolution: Fixed
    • 2.13.0
    • 2.14.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

          Activity

            People

              dmvk David Morávek
              dmvk David Morávek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m