Created
January 18, 2018 09:13
-
-
Save linben/53751195c74e3cd1bbf3a6f91810c19d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "/spark-client", | |
"cmd": "unset MESOS_EXECUTOR_ID MESOS_FRAMEWORK_ID MESOS_SLAVE_ID MESOS_SLAVE_PID MESOS_TASK_ID && /opt/spark/dist/bin/spark-submit --verbose --name SparkPi-Client-2-2-0 --master mesos://zk://zk-1.zk:2181,zk-2.zk:2181,zk-3.zk:2181,zk-4.zk:2181,zk-5.zk:2181/mesos --conf spark.cores.max=4 --conf spark.executor.cores=2 --conf spark.mesos.executor.docker.image=mesosphere/spark:2.1.0-2.2.1-1-hadoop-2.6 --class org.apache.spark.examples.SparkPi $MESOS_SANDBOX/spark-examples_2.11-2.0.1.jar 1000", | |
"container": { | |
"type": "DOCKER", | |
"volumes": [], | |
"docker": { | |
"image": "mesosphere/spark:2.1.0-2.2.1-1-hadoop-2.6", | |
"forcePullImage": false, | |
"privileged": false, | |
"parameters": [] | |
} | |
}, | |
"cpus": 1, | |
"disk": 0, | |
"fetch": [ | |
{ | |
"uri": "http://downloads.mesosphere.com/spark/assets/spark-examples_2.11-2.0.1.jar", | |
"extract": true, | |
"executable": false, | |
"cache": false | |
} | |
], | |
"instances": 1, | |
"maxLaunchDelaySeconds": 3600, | |
"mem": 1024, | |
"gpus": 0, | |
"networks": [ | |
{ | |
"mode": "host" | |
} | |
], | |
"portDefinitions": [], | |
"requirePorts": false, | |
"upgradeStrategy": { | |
"maximumOverCapacity": 1, | |
"minimumHealthCapacity": 1 | |
}, | |
"healthChecks": [], | |
"constraints": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment