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

S3FileSystem.renameRecursive(..) does not work correctly if src contains Java regular expression special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • fs
    • None

    Description

      In S3FileSystem, the variable srcPath is not supposed to be a regular expression but is used as a regular expression in the line below.

              Path newDst = new Path(oldSrcPath.replaceFirst(srcPath, dstPath));
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: