HADOOP-15288. TestSwiftFileSystemBlockLocation doesn't compile.
Contributed by Steve Loughran.
This commit is contained in:
parent
628be58a4c
commit
2e1e049bd0
|
@ -49,7 +49,7 @@ public class TestSwiftFileSystemBlockLocation extends SwiftFileSystemBaseTest {
|
||||||
|
|
||||||
private void assertLocationValid(BlockLocation location) throws
|
private void assertLocationValid(BlockLocation location) throws
|
||||||
IOException {
|
IOException {
|
||||||
LOG.info(location);
|
LOG.info("{}", location);
|
||||||
String[] hosts = location.getHosts();
|
String[] hosts = location.getHosts();
|
||||||
String[] names = location.getNames();
|
String[] names = location.getNames();
|
||||||
assertNotEqual("No hosts supplied for " + location, 0, hosts.length);
|
assertNotEqual("No hosts supplied for " + location, 0, hosts.length);
|
||||||
|
|
Loading…
Reference in New Issue