[
https://issues.apache.org/jira/browse/HDDS-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658058#comment-16658058
]
Yiqun Lin commented on HDDS-695:
--------------------------------
Only one comment from me:
*PipelineSelector#demolishPipeline*
Can we print a message when not finding the specified pipeline?
{code}
+ /**
+ * Demolishes a given pipeline.
+ */
+ public void demolishPipeline(PipelineID pipelineID) throws IOException {
+ final Pipeline pipeline = pipelineMap.get(pipelineID);
+ if (pipeline == null) {
+ // pipeline not found;
+ return;
+ }
+ LOG.info("Demolishing pipeline. pipelineID: {}", pipeline.getId());
+ finalizePipeline(pipeline);
+ ...
+ }
{code}
> Introduce a new SCM Command to teardown a Pipeline
> --------------------------------------------------
>
> Key: HDDS-695
> URL: https://issues.apache.org/jira/browse/HDDS-695
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: SCM
> Reporter: Nanda kumar
> Assignee: Nanda kumar
> Priority: Blocker
> Attachments: HDDS-695-ozone-0.3.000.patch
>
>
> We need to have a tear-down pipeline command in SCM so that an administrator
> can close/destroy a pipeline in the cluster.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]