I have two nodes that docker have been installed on them. Moreover, I have installed Apache Mesos on docker. First, I run this command in docker which does not show anything in result:
/home/flink-1.7.0/bin/mesos-appmaster.sh -Djobmanager.heap.mb=1024 -Djobmanager.rpc.port=6123 -Drest.port=8081 -Dmesos.resourcemanager.tasks.mem=1024 -Dtaskmanager.heap.mb=1024 -Dtaskmanager.numberOfTaskSlots=2 -Dparallelism.default=2 -Dmesos.resourcemanager.tasks.cpus=1
After that I run this command to run my jar file:
/home/flink-1.7.0/bin/flink run -m 172.28.10.133:5050 /home/Flink_Cassandra_test_jar/Flink_Cassandra_test.jar
After that, I get this error:
org.apache.flink.client.deployment.ClusterRetrieveException: Couldn’t retrieve standalone cluster
By the way, I configured Zookeeper too. Also, I added this two line in Flink yaml file:
jobmanager.rpc.address: 22.214.171.124 high-availability: zookeeper high-availability.zookeeper.quorum: 126.96.36.199:2181
Would you please tell me how to run flink jar file on mesos cluster?
Any help would be appreciated.