Replies: 4 comments 5 replies
-
@Montura Can you file a jira for this. |
Beta Was this translation helpful? Give feedback.
-
By the way, you can do that using the following script: ozone admin pipeline list | grep OPEN | cut -d ',' -f1 | cut -d ":" -f2 | cut -d " " -f2 | while read line; do echo $line | ozone admin pipeline close $line ; done |
Beta Was this translation helpful? Give feedback.
-
It seems like it would be a nice addition, but can you share more details about the use case? If mass closing of pipelines is so frequent that it needs a convenient command, there is probably something else wrong with the cluster. |
Beta Was this translation helpful? Give feedback.
-
Closed since #6577 has been merged. |
Beta Was this translation helpful? Give feedback.
-
For now ozone CLI allows to get pipelines list or close pipeline by
PipelineId
.I'd like to add a new command to close all pipelines (or some filtered pipeline subset):
ScmClient
CLOSED
pipelines (to close onlyOPEN
andALLOCATED
)REPLICATION
orREPLICATION_TYPE
orREPLICATION_FACTOR
(as in ListPipelinesSubcommand done)UPD: added PR
Beta Was this translation helpful? Give feedback.
All reactions