浏览代码

HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1600971 13f79535-47bb-0310-9956-ffa450edef68
Steve Loughran 11 年之前
父节点
当前提交
3d077726d0

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -533,6 +533,9 @@ Release 2.5.0 - UNRELEASED
 
     HADOOP-10658. SSLFactory expects truststores being configured. (tucu via atm)
 
+    HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java.
+    (Gene Kim via stevel)
+
 Release 2.4.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java

@@ -927,7 +927,7 @@ public class SwiftNativeFileSystemStore {
     }
 
     if (LOG.isDebugEnabled()) {
-      SwiftUtils.debug(LOG, SwiftUtils.fileStatsToString(statuses, "\n"));
+      SwiftUtils.debug(LOG, "%s", SwiftUtils.fileStatsToString(statuses, "\n"));
     }
 
     if (filecount == 1 && swiftPath.equals(statuses[0].getPath())) {