You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/12/06 11:51:00 UTC
[jira] [Created] (HDDS-907) Use WAITFOR environment variable to
handle dependencies between ozone containers
Elek, Marton created HDDS-907:
---------------------------------
Summary: Use WAITFOR environment variable to handle dependencies between ozone containers
Key: HDDS-907
URL: https://issues.apache.org/jira/browse/HDDS-907
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Components: docker
Reporter: Elek, Marton
Until HDDS-839 we had a hard-coded 15 seconds sleep before we started ozoneManager with the docker-compose files (hadoop-ozone/dist/target/ozone-0.4.0-SNAPSHOT/compose).
For initialization of the OzoneManager we need the scm. Om will retry the connection if scm is not available but the dns resolution is cached: if the dns of scm is not available at the startup of om, it can't be initialized.
Before HDDS-839 we handled this dependency with the 15 seconds sleep, which was usually slower what we need.
Now we can use the WAITFOR environment variables from HDDS-839 to handle this dependency (like WAITFOR:scmL9876) which can be added to all the docker-compose files.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org