Marton Elek created HDDS-2608:
---------------------------------

             Summary: 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


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

Reply via email to