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

RawLocalFileStatus is badly handling URIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.2
    • 0.16.0
    • fs
    • None

    Description

      as a result, files with special characters (that get encoded when translated to URIs) are badly handled using a local filesystem.

      new Path(f.toURI().toString())) should be replaced by new Path(f.toURI().getPath()))

      IMHO, each call to toURI().toString() should be considered suspicious. There's another one in the class CopyFiles at line 641.

      Attachments

        1. HADOOP-2626.patch
          1 kB
          Thomas Friol
        2. HADOOP-2626-1.patch
          3 kB
          Doug Cutting

        Activity

          People

            cutting Doug Cutting
            fred.bertin Frédéric Bertin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: