From 2e1e049bd007b1c5e69cfe839ec18c2b1877907a Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 5 Mar 2018 18:12:38 +0000 Subject: [PATCH] HADOOP-15288. TestSwiftFileSystemBlockLocation doesn't compile. Contributed by Steve Loughran. --- .../hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java b/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java index 20f574996f9..1ad28a6cc45 100644 --- a/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java +++ b/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java @@ -49,7 +49,7 @@ public class TestSwiftFileSystemBlockLocation extends SwiftFileSystemBaseTest { private void assertLocationValid(BlockLocation location) throws IOException { - LOG.info(location); + LOG.info("{}", location); String[] hosts = location.getHosts(); String[] names = location.getNames(); assertNotEqual("No hosts supplied for " + location, 0, hosts.length);