kumaab commented on code in PR #1058:
URL: https://github.com/apache/ranger/pull/1058#discussion_r3799191697


##########
dev-support/ranger-docker/docker-compose.ranger-ozone.yml:
##########
@@ -61,7 +61,7 @@ services:
     env_file:
       - ./scripts/ozone/docker-config
     # Do not pass KERBEROS_ENABLED: Ozone libexec/entrypoint.sh waits for 
krb5:8081.
-    command: bash -c "unset KERBEROS_ENABLED; source 
/opt/hadoop/ranger-ozone-plugin/ranger-ozone-setup.sh && (test -f 
/data/metadata/om/current/VERSION || /opt/hadoop/bin/ozone om --init) && exec 
/opt/hadoop/bin/ozone om"
+    command: bash -c "until [ -f /etc/keytabs/.provisioned ]; do echo 'waiting 
for keytabs...'; sleep 3; done && unset KERBEROS_ENABLED; source 
/opt/hadoop/ranger-ozone-plugin/ranger-ozone-setup.sh && (test -f 
/data/metadata/om/current/VERSION || /opt/hadoop/bin/ozone om --init) && exec 
/opt/hadoop/bin/ozone om"

Review Comment:
   Tried bringing this container in local setup. This change is causing the 
`om` container to print `waiting for keytabs...`, reverting this change causes 
the container to proceed further. please check.



-- 
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]

Reply via email to