wangyang0918 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_r363719407
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/common_mesos_docker.sh
 ##########
 @@ -52,11 +54,19 @@ 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
+    docker cp ${END_TO_END_DIR}/test-scripts mesos-master:$MESOS_END_TO_END_DIR
 
 Review comment:
   Why do we need to copy the `MESOS_END_TO_END_DIR` directory to docker 
container? If you want to use the data, just copy them.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to