Hadoop Common
  1. Hadoop Common
  2. HADOOP-10647

String Format Exception in SwiftNativeFileSystemStore.java

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: fs/swift
    • Labels:
      None

      Description

      If Swift.debug is given a string containing a % character, a format exception will occur. This happens when the path for any of the FileStatus objects contain a % encoded character. The bug is located at hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931.

      1. hadoop.patch
        0.9 kB
        Gene Kim
      2. HADOOP-10647.patch
        0.9 kB
        Chen He

        Activity

        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #1794 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1794/)
        HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971)

        • /hadoop/common/trunk
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1794 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1794/ ) HADOOP-10647 . String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971 ) /hadoop/common/trunk /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #1767 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1767/)
        HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971)

        • /hadoop/common/trunk
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1767 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1767/ ) HADOOP-10647 . String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971 ) /hadoop/common/trunk /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #576 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/576/)
        HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971)

        • /hadoop/common/trunk
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #576 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/576/ ) HADOOP-10647 . String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971 ) /hadoop/common/trunk /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in Hadoop-trunk-Commit #5656 (See https://builds.apache.org/job/Hadoop-trunk-Commit/5656/)
        HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971)

        • /hadoop/common/trunk
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Show
        Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #5656 (See https://builds.apache.org/job/Hadoop-trunk-Commit/5656/ ) HADOOP-10647 . String Format Exception in SwiftNativeFileSystemStore.java. (stevel: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1600971 ) /hadoop/common/trunk /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java
        Hide
        Steve Loughran added a comment -

        +1, committed to branch-2 and trunk. Thanks for finding this!

        Show
        Steve Loughran added a comment - +1, committed to branch-2 and trunk. Thanks for finding this!
        Hide
        Chen He added a comment -

        I changed the patch name into "HADOOP-10647.patch"?

        Show
        Chen He added a comment - I changed the patch name into " HADOOP-10647 .patch"?
        Hide
        Gene Kim added a comment -

        Here's a patch to fix the bug

        Show
        Gene Kim added a comment - Here's a patch to fix the bug

          People

          • Assignee:
            Gene Kim
            Reporter:
            Gene Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development