[ 
https://issues.apache.org/jira/browse/HDFS-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028737#comment-16028737
 ] 

Anu Engineer commented on HDFS-11597:
-------------------------------------

[~szetszwo] Thanks for the patch. Just to make sure that I understand the flow 
correctly,  I wanted to describe the high level flow and then discuss this 
specific patch. Please correct me if my understanding is flawed.

# I am presuming that we have 2 separate states , one is the SCM side -- which 
returns the pipeline and RatisManagerImpl takes care of forming a Ratis cluster 
using that information. At some point of time,  this info will also be written 
to the local Ratis of SCM.
# Then this information is used to create a Ratis cluster dynamically, which is 
not part of this patch, this patch deals only with the SCM part of it
# When we update members we are only updating the SCM view and due to that we 
don't need to do a Ratis change, but at some point if we are changing the 
memebership of a Ratis cluster, then this will be more involved. That is, it 
will have a remove datanode followed by an add datanode, so that Ratis logs can 
catch up.

Just want to make sure that my understanding is correct.




> Ozone: Add Ratis management API
> -------------------------------
>
>                 Key: HDFS-11597
>                 URL: https://issues.apache.org/jira/browse/HDFS-11597
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: HDFS-11597-HDFS-7240.20170522.patch, 
> HDFS-11597-HDFS-7240.20170523.patch, HDFS-11597-HDFS-7240.20170524.patch, 
> HDFS-11597-HDFS-7240.20170528b.patch, HDFS-11597-HDFS-7240.20170528.patch, 
> HDFS-11597-HDFS-7240.20170529.patch
>
>
> We need APIs to manage Ratis clusters for the following operations:
> - create cluster;
> - close cluster;
> - get members; and
> - update members.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to