Skip to content

Instantly share code, notes, and snippets.

@samklr
Last active November 2, 2016 16:38
Show Gist options
  • Save samklr/0bde4d96ef6a06909329 to your computer and use it in GitHub Desktop.
Save samklr/0bde4d96ef6a06909329 to your computer and use it in GitHub Desktop.
Spark Notebook Marathon/DCOS
{
"id": "spark-notebook",
"cpus": 1.5,
"mem": 3500,
"instances": 1,
"container":{
"type" : "DOCKER",
"docker": {
"image" : "andypetrella/spark-notebook:0.6.1-scala-2.10.4-spark-1.5.0-hadoop-2.6.0-cdh5.4.4-with-hive-with-parquet",
"network":"HOST",
"privileged":true
}
},
"healthChecks": [
{
"protocol": "HTTP",
"portIndex": 0,
"path": "/",
"gracePeriodSeconds": 5,
"intervalSeconds": 20,
"maxConsecutiveFailures": 3
}
],
"ports": [0,0]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment