Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14235

S3A Path does not understand colon (:) when globbing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.8.1
    • None
    • fs/s3
    • None
    • EC2, AWS

    Description

      S3 paths, colons ":" are valid character in S3 paths. However, the Java URI class, which is used in the Path class, does not allow it.

      This becomes a problem particularly when we are globbing S3 paths. The globber thinks paths with colons are invalid paths and throws URISyntaxException.

      The reason is we are sharing Globber.java with all other Fs. Some of the rules for regular Fs are not applicable to S3 just like this colon as an example.

      Same issue is reported here https://issues.apache.org/jira/browse/SPARK-20061

      The good news is I have a one line fix that I am about to send a pull request.

      However, for a right fix, we should separate the S3 globber from the Globber.java as proposed at https://issues.apache.org/jira/browse/HADOOP-13371

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kazuyukitanimura Kazuyuki Tanimura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: