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

HdfsFileSystem is unable to match a directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.0
    • Fix Version/s: 2.14.0
    • Labels:
      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

              • Assignee:
                davidmoravek David Moravek
                Reporter:
                davidmoravek David Moravek
              • 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