adoroszlai opened a new pull request, #4457: URL: https://github.com/apache/ozone/pull/4457
## What changes were proposed in this pull request? Get rid of unnecessary 5 seconds sleep at container startup in `ozonesecure-ha` and `ozonesecure-mr` environments, which also caused the following warning: ``` ozone.scm.client.address should be set in ozone-site.xml or with the --scm option ``` [details](https://issues.apache.org/jira/browse/HDDS-8255?focusedCommentId=17703983&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17703983) https://issues.apache.org/jira/browse/HDDS-8255 ## How was this patch tested? Tested locally: ``` $ cd hadoop-ozone/dist/target/ozone-1.4.0-SNAPSHOT/compose/ozonesecure-ha $ SCM=scm1.org $ docker-compose up -d ${SCM}; for i in {1..5}; do docker-compose exec ${SCM} grep scm.service /etc/hadoop/ozone-site.xml; sleep 1; done Starting ozonesecure-ha_scm1.org_1 ... done <property><name>ozone.scm.service.ids</name><value>scmservice</value></property> <property><name>ozone.scm.service.ids</name><value>scmservice</value></property> <property><name>ozone.scm.service.ids</name><value>scmservice</value></property> <property><name>ozone.scm.service.ids</name><value>scmservice</value></property> <property><name>ozone.scm.service.ids</name><value>scmservice</value></property> ``` Regular CI: https://github.com/adoroszlai/hadoop-ozone/actions/runs/4498660857 Verified that warning is no longer printed after containers are created: https://github.com/adoroszlai/hadoop-ozone/actions/runs/4498660857/jobs/7915847876#step:5:90 https://github.com/adoroszlai/hadoop-ozone/actions/runs/4498660857/jobs/7915848282#step:5:644 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
