HDFS-11935. Ozone: TestStorageContainerManager#testRpcPermission fails when ipv6 address used. Contributed by Yiqun Lin.

This commit is contained in:
Anu Engineer 2017-08-04 10:32:32 -07:00
parent 72e3016224
commit af6dfdf7ee
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ public final class OzoneClientUtils {
InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),
listenAddr.getPort());
conf.set(addressKey,
listenAddr.getHostString() + ":" + listenAddr.getPort());
addr.getHostString() + ":" + listenAddr.getPort());
return updatedAddr;
}