[ 
https://issues.apache.org/jira/browse/HDDS-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16620823#comment-16620823
 ] 

Anu Engineer commented on HDDS-329:
-----------------------------------

[~elek] Resolve as fixed ?

> Ozone: dozone: auto-bootstrap SCM/KSM in containerized environment
> ------------------------------------------------------------------
>
>                 Key: HDDS-329
>                 URL: https://issues.apache.org/jira/browse/HDDS-329
>             Project: Hadoop Distributed Data Store
>          Issue Type: New Feature
>          Components: Ozone Manager, SCM
>            Reporter: Elek, Marton
>            Priority: Major
>
> Currently to start SCM and KSM in a new environment we need to:
>  1. Initialize scm (/hdfs scm -init)
>  2. Start scm
>  3. hdfs ksm -createObjectStore (connects to the scm, scm should be running)
>  4. Start ksm
> The problematic part is step 3.) as in a containerized environment 
> (docker-compose/kubernetes) the timing couldn't be guaranteed.
> I propose to introduce a new command line flag '--auto-bootstrap' for both 
> KSM and SCM (and maybe for Namenode in the future).
> It will:
>   1. Initilize KSM and SCM *if and only if* the data directories are missing
>   2. In case of KSM retry the initilization in every 10 seconds (in case of 
> SCM is not yet running) in case of connection failure



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to