You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Anu Engineer (Jira)" <ji...@apache.org> on 2019/12/04 20:21:00 UTC

[jira] [Resolved] (HDDS-2608) Provide command to wait until SCM is out from the safe-mode

     [ 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org