adoroszlai commented on code in PR #3641:
URL: https://github.com/apache/ozone/pull/3641#discussion_r934236004
##########
hadoop-ozone/dist/src/main/compose/ozone-topology/docker-compose.yaml:
##########
@@ -147,6 +147,22 @@ services:
networks:
net:
ipv4_address: 10.5.0.71
+ recon:
+ image: ${OZONE_RUNNER_IMAGE}:${OZONE_RUNNER_VERSION}
+ privileged: true #required by the profiler
+ volumes:
+ - ../..:/opt/hadoop
+ ports:
+ - 9888:9888
+ env_file:
+ - docker-config
+ environment:
+ OZONE-SITE.XML_ozone.replication: ${OZONE_REPLICATION_FACTOR:-1}
Review Comment:
`OZONE_REPLICATION_FACTOR` lets us use scalable environments (`ozone`,
`ozone-ha`, etc.) with a single datanode by default, and scale to 3 if needed.
It is not applicable to the `ozone-topology` environment. With a fixed set of
6 datanodes it is configured as:
https://github.com/apache/ozone/blob/511977ad67324cee8603706f9b76244d58808f01/hadoop-ozone/dist/src/main/compose/ozone-topology/docker-config#L32
So we can remove this extra config:
```suggestion
```
--
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]