HDFS-11935. Ozone: TestStorageContainerManager#testRpcPermission fails when ipv6 address used. Contributed by Yiqun Lin.
This commit is contained in:
parent
72e3016224
commit
af6dfdf7ee
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue