You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by sh...@apache.org on 2021/12/06 10:53:38 UTC

[ozone] branch master updated: HDDS-6061. Peer datanode cannot add group for pipeline in secure env (#2882)

This is an automated email from the ASF dual-hosted git repository.

shashikant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new ab3b731  HDDS-6061. Peer datanode cannot add group for pipeline in secure env  (#2882)
ab3b731 is described below

commit ab3b731eaa30814baa80db3808eeaa911622102a
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Mon Dec 6 11:52:41 2021 +0100

    HDDS-6061. Peer datanode cannot add group for pipeline in secure env  (#2882)
---
 .../common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java
index e310cc9..50480c1 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java
@@ -228,6 +228,7 @@ public final class RatisHelper {
     // TODO: GRPC TLS only for now, netty/hadoop RPC TLS support later.
     if (tlsConfig != null && rpcType == SupportedRpcType.GRPC) {
       Parameters parameters = new Parameters();
+      GrpcConfigKeys.Admin.setTlsConf(parameters, tlsConfig);
       GrpcConfigKeys.Client.setTlsConf(parameters, tlsConfig);
       builder.setParameters(parameters);
     }

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