You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2017/08/04 17:40:21 UTC

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

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 72e301622 -> af6dfdf7e


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/af6dfdf7
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/af6dfdf7
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/af6dfdf7

Branch: refs/heads/HDFS-7240
Commit: af6dfdf7eec44aff961f8a24a51617950b98a5e5
Parents: 72e3016
Author: Anu Engineer <ae...@apache.org>
Authored: Fri Aug 4 10:32:32 2017 -0700
Committer: Anu Engineer <ae...@apache.org>
Committed: Fri Aug 4 10:32:32 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/af6dfdf7/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java
index b4767dc..d92f49f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java
@@ -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;
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org