[
https://issues.apache.org/jira/browse/HDDS-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16695786#comment-16695786
]
Elek, Marton commented on HDDS-839:
-----------------------------------
The 15 second sleep is not required any more because the WAITFOR functionality
could replace it. The 15 seconds wait was a safety line to be sure that scm is
started up but now we have the more precious WAITFOR=scm:9876 approach.
I think we can do it in the same patch as they are strongly connected (for
example reverting this WAITFOR patch requires to put back the sleep 15).
> Wait for other services in the started script of hadoop-runner base docker
> image
> --------------------------------------------------------------------------------
>
> Key: HDDS-839
> URL: https://issues.apache.org/jira/browse/HDDS-839
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Attachments: HDDS-839-docker-hadoop-runner.001.patch,
> HDDS-839-docker-hadoop-runner.002.patch
>
>
> As described in the parent issue, we need a simple method to handle service
> dependencies in kubernetes clusters (usually as a workaround when some
> clients can't re-try with renewed dns information).
> But it also could be useful to minimize the wait time in the docker-compose
> clusters.
> The easiest implementation is modifying the started script of the
> apache/hadoop-runner base image and add a bash loop which checks the
> availability of the TCP port (with netcat).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]