HADOOP-15288. TestSwiftFileSystemBlockLocation doesn't compile.
Contributed by Steve Loughran.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2e1e049b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2e1e049b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2e1e049b

Branch: refs/heads/HDFS-7240
Commit: 2e1e049bd007b1c5e69cfe839ec18c2b1877907a
Parents: 628be58
Author: Steve Loughran <ste...@apache.org>
Authored: Mon Mar 5 18:12:38 2018 +0000
Committer: Steve Loughran <ste...@apache.org>
Committed: Mon Mar 5 18:12:38 2018 +0000

----------------------------------------------------------------------
 .../apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2e1e049b/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemBlockLocation.java
----------------------------------------------------------------------
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 20f5749..1ad28a6 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);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to