elek commented on a change in pull request #758: HDDS-999. Make the DNS
resolution in OzoneManager more resilient. (swagle)
URL: https://github.com/apache/hadoop/pull/758#discussion_r278441100
##########
File path: hadoop-ozone/dist/src/main/k8s/ozone/om-statefulset.yaml
##########
@@ -44,8 +44,8 @@ spec:
- om
- --init
env:
- - name: "WAITFOR"
- value: "scm-0.scm:9876"
+ - name: "ENSURE_OM_INITIALIZED"
Review comment:
ENSURE_OM_INITIALIZED is not required here. For kubernetes we follow a
different (more generic) approach. We can define an 'initContainer' to execute
the 'om --init' first. (as you can see this is the initContainer here). As the
'om --init' can be executed multiple times it works well without the
environment variable (which is handled by the starter script of the container.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]