[
https://issues.apache.org/jira/browse/HDDS-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759142#comment-16759142
]
Mukul Kumar Singh commented on HDDS-1021:
-----------------------------------------
Thanks for updating the patch [~shashikant].
+1, the v1 patch looks good to me. I will commit this shortly.
I also tested this patch on a docker based cluster and created ratis factor 1
and 3 pipeline on a 3 node cluster and was able to create them on the same
cluster. Pasting the output below.
{code}
hadoop@a1f85a4449a9:~$ /opt/hadoop/bin/ozone scmcli listPipelines | grep RATIS
Pipeline[ Id: b2204b94-4c30-44ee-898e-7af1caa1e520, Nodes:
1325875a-0c68-4ba7-aee5-725bacf8c4e5{ip: 172.18.0.5, host:
ozone_datanode_2.ozone_default}, Type:RATIS, Factor:ONE, State:OPEN]
Pipeline[ Id: d15944d3-6cae-49ae-9764-f2c0115af694, Nodes:
e379dcb0-c9f9-4e05-ac2f-e38e19829c83{ip: 172.18.0.6, host:
ozone_datanode_3.ozone_default}, Type:RATIS, Factor:ONE, State:OPEN]
Pipeline[ Id: 0084be6b-b4d6-455f-9d76-06a478cf5b45, Nodes:
b994c39a-b718-40fd-bba1-d516186e39e4{ip: 172.18.0.2, host:
ozone_datanode_1.ozone_default}, Type:RATIS, Factor:ONE, State:OPEN]
Pipeline[ Id: c214f463-974f-41a4-8c62-ca2d1e68a0c4, Nodes:
1325875a-0c68-4ba7-aee5-725bacf8c4e5{ip: 172.18.0.5, host:
ozone_datanode_2.ozone_default}e379dcb0-c9f9-4e05-ac2f-e38e19829c83{ip:
172.18.0.6, host:
ozone_datanode_3.ozone_default}b994c39a-b718-40fd-bba1-d516186e39e4{ip:
172.18.0.2, host: ozone_datanode_1.ozone_default}, Type:RATIS, Factor:THREE,
State:OPEN]
{code}
> Allow ozone datanode to participate in a 1 node as well as 3 node Ratis
> Pipeline
> --------------------------------------------------------------------------------
>
> Key: HDDS-1021
> URL: https://issues.apache.org/jira/browse/HDDS-1021
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Datanode, SCM
> Affects Versions: 0.4.0
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: HDDS-1021.000.patch, HDDS-1021.001.patch
>
>
> Currently, if a datanode is a part of 3 node Ratis pipeline, it cannot
> participate in a single node Ratis pipeline. This Jira aims to enable
> datanodes to become part of a a 3 node Ratis pipeline as well as single node
> Ratis pipeline. This is the first step in introducing multiRaft in Ozone.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]