HDFS-11935. Ozone: TestStorageContainerManager#testRpcPermission fails when ipv6 address used. Contributed by Yiqun Lin.
This commit is contained in:
parent
ccc1607424
commit
23dee0f123
|
@ -651,7 +651,7 @@ public final class OzoneClientUtils {
|
||||||
InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),
|
InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),
|
||||||
listenAddr.getPort());
|
listenAddr.getPort());
|
||||||
conf.set(addressKey,
|
conf.set(addressKey,
|
||||||
listenAddr.getHostString() + ":" + listenAddr.getPort());
|
addr.getHostString() + ":" + listenAddr.getPort());
|
||||||
return updatedAddr;
|
return updatedAddr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue