{
    "properties": {
        "service": {
            "description": "DC/OS service configuration properties",
            "properties": {
                "cpus": {
                    "default": 0.1,
                    "description": "CPU shares to allocate to each service instance.",
                    "minimum": 0.1,
                    "type": "number"
                },
                "host_path": {
                    "default": "/var/lib/tmp/spark",
                    "description": "Path in the host to be mapped into spark executors",
                    "type": "string"
                },
                "instances": {
                    "default": 256,
                    "description": "Number of service instances to run in the cluster. A single instance will be run per node in the cluster. Normally, this number should be equal or higher than the number of nodes in the cluster.",
                    "minimum": 1,
                    "type": "number"
                },
                "mem": {
                    "default": 128.0,
                    "description": "Memory to allocate to each service instance.",
                    "minimum": 128.0,
                    "type": "number"
                },
                "name": {
                    "default": "spark-shuffle",
                    "description": "Name of this service instance",
                    "type": "string"
                },
                "port": {
                    "default": 7337,
                    "description": "TCP port for the shuffle service",
                    "type": "number"
                },
                "spark-daemon-memory": {
                    "default": "512m",
                    "description": "Memory to allocate to the spark daemon.",
                    "type": "string"
                }
            },
            "type": "object"
        }
    }
}