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 sh...@apache.org on 2018/06/04 22:01:40 UTC
[25/30] hadoop git commit: HDDS-145. Freon times out because of
because of wrong ratis port number in datanode details. Contributed by Mukul
Kumar Singh.
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/HDFS-12943
Commit: ea7b53fb44496c35d58346f2222610a30d7041f6
Parents: 61fc7f7
Author: Xiaoyu Yao <xy...@apache.org>
Authored: Mon Jun 4 09:51:04 2018 -0700
Committer: Xiaoyu Yao <xy...@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