[
https://issues.apache.org/jira/browse/HDDS-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anu Engineer resolved HDDS-2608.
--------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
Committed to the master, thank you for the contribution.
> Provide command to wait until SCM is out from the safe-mode
> -----------------------------------------------------------
>
> Key: HDDS-2608
> URL: https://issues.apache.org/jira/browse/HDDS-2608
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Tools
> Reporter: Marton Elek
> Assignee: Marton Elek
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The safe mode can be checked with "ozone scmcli safemode status". But for
> acceptance tests there is no easy way to check if the cluster is ready to
> execute the tests (See HDDS-2606 for example).
> One easy solution is to create a polling version from "safemode status".
> "safemode wait --timeout ..." can be blocked until the scm is out from the
> safe mode.
> Wit proper safe mode rules (min datanodes + min pipline numbers) it can help
> us to check if the acceptance tests are ready to test.
> Same command can be used in k8s as well to test if the cluster is ready to
> start the freon commands...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]