GJL commented on a change in pull request #10746: [FLINK-15417] Remove the
docker volume or mount when starting Mesos e…
URL: https://github.com/apache/flink/pull/10746#discussion_r365927501
##########
File path: flink-end-to-end-tests/test-scripts/common_mesos_docker.sh
##########
@@ -53,11 +55,22 @@ function start_flink_cluster_with_mesos() {
set_config_key "jobmanager.rpc.address" "mesos-master"
set_config_key "rest.address" "mesos-master"
- docker exec -itd mesos-master bash -c "${FLINK_DIR}/bin/mesos-appmaster.sh
-Dmesos.master=mesos-master:5050"
+ docker cp ${FLINK_DIR} mesos-master:$MESOS_FLINK_DIR
Review comment:
Why not bundle Flink and the test data inside the image? My concern is that
we are treating the container like a VM. However, strictly speaking a container
should be immutable, and all writes should go to a volume or bind mount.
----------------------------------------------------------------
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