[ 
https://issues.apache.org/jira/browse/HDDS-11727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-11727:
------------------------------------
    Summary: Block ozone repair om fso-tree if OM is running  (was: Block 
`ozone repair` when a node is running)

> Block ozone repair om fso-tree if OM is running
> -----------------------------------------------
>
>                 Key: HDDS-11727
>                 URL: https://issues.apache.org/jira/browse/HDDS-11727
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ethan Rose
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> Commands under {{ozone repair}} are meant to be done while the node is 
> stopped. In the {{ozone}} shell script, we can use the pid file of each 
> process to check which ozone services are running on this host, and pass that 
> information to the {{ozone-tools}} jar when it is invoked. In the Java code 
> we can then fail subcommands like {{ozone repair om}} if the OM process is 
> still running on this host. A {{--force}} flag could optionally override this 
> in false positive cases like services being co-located for testing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to