HADOOP-15288. TestSwiftFileSystemBlockLocation doesn't compile.

Contributed by Steve Loughran.
This commit is contained in:
Steve Loughran 2018-03-05 18:12:38 +00:00
parent 628be58a4c
commit 2e1e049bd0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public void testLocateSingleFileBlocks() throws Throwable {
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);