From 3d077726d090cc811e21bb7f629fc2d8340d7b1d Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Fri, 6 Jun 2014 18:00:52 +0000 Subject: [PATCH] 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 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index d25d8c6b7a..842f529ece 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/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 diff --git a/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java b/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java index e30b47ba55..e42cb442c9 100644 --- a/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java +++ b/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java @@ -927,7 +927,7 @@ public boolean delete(Path absolutePath, boolean recursive) throws IOException { } 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())) {