You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/19 19:37:50 UTC

[GitHub] [ozone] vivekratnavel opened a new pull request #2556: HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

vivekratnavel opened a new pull request #2556:
URL: https://github.com/apache/ozone/pull/2556


   ## What changes were proposed in this pull request?
   
   Add all CA Certs to trust manager while creating GRPC Replication Server between datanodes.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5556
   
   ## How was this patch tested?
   
   Tested with docker-compose by bringing up the following containers initially in ozonesecure-ha environment:
   
   ```
   docker-compose up -d kdc kms scm1.org scm2.org scm3.org recon om1 om2 om3 datanode1
   // To change the SCM leader node
   docker-compose stop scm1.org
   
   // Start datanode2 to get its cert signed by new SCM leader (scm2.org)
   docker-compose up -d datanode2
   
   // Change leader again
   docker-compose start scm1.org
   docker-compose stop scm2.org
   
   // Start dn3
   docker-compose up -d datanode3
   
   // put a file
   docker-compose exec om bash
   kinit -kt /etc/security/keytabs/om.keytab om/om
   ozone sh vol create vol1
   ozone sh bucket create vol1/bucket1
   ozone sh key put /vol1/bucket1/key1 <path_to_file>
   
   // stop dn3 and remove
   docker-compose stop datanode3
   docker-compose rm datanode3
   
   // start dn3 as a fresh container
   docker-compose up -d datanode3
   ```
   
   After this, verified that SCM scheduled replication of the container to datanode3 and it succeeded without any errors. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bharatviswa504 commented on pull request #2556: HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

Posted by GitBox <gi...@apache.org>.
bharatviswa504 commented on pull request #2556:
URL: https://github.com/apache/ozone/pull/2556#issuecomment-903560789


   Thank You @vivekratnavel for the contribution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bharatviswa504 merged pull request #2556: HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

Posted by GitBox <gi...@apache.org>.
bharatviswa504 merged pull request #2556:
URL: https://github.com/apache/ozone/pull/2556


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bharatviswa504 commented on a change in pull request #2556: HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

Posted by GitBox <gi...@apache.org>.
bharatviswa504 commented on a change in pull request #2556:
URL: https://github.com/apache/ozone/pull/2556#discussion_r692692574



##########
File path: hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ReplicationServer.java
##########
@@ -51,6 +52,8 @@
 
   private SecurityConfig secConf;
 
+  private ConfigurationSource config;

Review comment:
       Unused one




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] vivekratnavel commented on pull request #2556: HDDS-5556. GrpcReplication Client might fail in SCM HA Cluster

Posted by GitBox <gi...@apache.org>.
vivekratnavel commented on pull request #2556:
URL: https://github.com/apache/ozone/pull/2556#issuecomment-902498566


   @bharatviswa504 Thanks for the review. PTAL.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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