hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject [23/50] [abbrv] hadoop git commit: HDDS-145. Freon times out because of because of wrong ratis port number in datanode details. Contributed by Mukul Kumar Singh.
Date Tue, 05 Jun 2018 19:41:41 GMT
HDDS-145. Freon times out because of because of wrong ratis port number in datanode details.
Contributed by Mukul Kumar Singh.


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

Branch: refs/heads/YARN-1011
Commit: ea7b53fb44496c35d58346f2222610a30d7041f6
Parents: 61fc7f7
Author: Xiaoyu Yao <xyao@apache.org>
Authored: Mon Jun 4 09:51:04 2018 -0700
Committer: Xiaoyu Yao <xyao@apache.org>
Committed: Mon Jun 4 09:51:04 2018 -0700

----------------------------------------------------------------------
 .../common/src/main/java/org/apache/ratis/RatisHelper.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ea7b53fb/hadoop-hdds/common/src/main/java/org/apache/ratis/RatisHelper.java
----------------------------------------------------------------------
diff --git a/hadoop-hdds/common/src/main/java/org/apache/ratis/RatisHelper.java b/hadoop-hdds/common/src/main/java/org/apache/ratis/RatisHelper.java
index 20356b3..df83116 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/ratis/RatisHelper.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/ratis/RatisHelper.java
@@ -49,12 +49,12 @@ public interface RatisHelper {
 
   static String toRaftPeerIdString(DatanodeDetails id) {
     return id.getUuidString() + "_" +
-        id.getPort(DatanodeDetails.Port.Name.RATIS);
+        id.getPort(DatanodeDetails.Port.Name.RATIS).getValue();
   }
 
   static String toRaftPeerAddressString(DatanodeDetails id) {
     return id.getIpAddress() + ":" +
-        id.getPort(DatanodeDetails.Port.Name.RATIS);
+        id.getPort(DatanodeDetails.Port.Name.RATIS).getValue();
   }
 
   static RaftPeerId toRaftPeerId(DatanodeDetails id) {


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


Mime
View raw message