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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0, 3.0.0-alpha1
    • 2.3.0
    • fs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: