adoroszlai commented on code in PR #5585:
URL: https://github.com/apache/ozone/pull/5585#discussion_r1407658179
##########
hadoop-ozone/dist/src/main/compose/upgrade/compose/ha/docker-compose.yaml:
##########
@@ -59,35 +61,75 @@ x-om:
- 9872
x-volumes:
+ - &keytabs ../../../_keytabs:/etc/security/keytabs
+ - &krb5conf ./krb5.conf:/etc/krb5.conf
- &ozone-dir ../../../..:${OZONE_DIR}
- &transformation
../../../../libexec/transformation.py:/opt/hadoop/libexec/transformation.py
services:
+ kdc:
+ command: ["krb5kdc","-n"]
+ hostname: kdc
+ image: ${OZONE_TESTKRB5_IMAGE}
+ networks:
+ net:
+ ipv4_address: 10.9.0.2
+ volumes:
+ - *keytabs
+ - ../../../..:/opt/hadoop
Review Comment:
`OZONE_DIR` depends on whether we use `ozone-runner` or `ozone` (with
binaries) image for Ozone. This one should not adapt to that change, because
`kdc` container always uses the `ozone-testkrb5` image. So it needs to be
hard-coded as `/opt/hadoop`.
--
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]