Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-907

Use WAITFOR environment variable to handle dependencies between ozone containers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docker
    • Labels:
    • Target Version/s:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdeka Supratim Deka
                Reporter:
                elek Marton Elek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: