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

globStatus does not correctly handle paths starting with a drive spec on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Recent file system changes have caused globStatus to stop working for paths starting with a drive spec on Windows. The problem is most easily visible by running TestFileUtil#createJarWithClassPath on Windows. This method attempts a globStatus with pattern *{.jar,.JAR}, and it no longer correctly identifies files at the path ending in .jar or .JAR.

        Attachments

        1. HADOOP-9887-trunk.2.patch
          3 kB
          Chuan Liu
        2. HADOOP-9887-trunk.patch
          1 kB
          Chuan Liu

          Issue Links

            Activity

              People

              • Assignee:
                chuanliu Chuan Liu
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: