From d7f5d6795cf8ded8bf4c6890c23ea0f02aae6556 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Fri, 6 Jun 2014 17:59:37 +0000 Subject: [PATCH] HADOOP-10647. String Format Exception in SwiftNativeFileSystemStore.java. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1600970 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 a0015347593..e7b14894709 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -180,6 +180,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 e30b47ba556..e42cb442c93 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 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())) {