Updated the JSON client to be consistent with the library. The JSON client requires two JSONs, 1. JOB json -- contains job description. 2. Config json -- contains configuration information such as username, password, schedulerUrl, zookeeper cluster configuration etc.
13 lines
No EOL
324 B
JSON
13 lines
No EOL
324 B
JSON
{
|
|
"username": "aurora",
|
|
"password": "secret",
|
|
"schedUrl": "http://192.168.33.7:8081",
|
|
"cluster" : {
|
|
"name": "devcluster",
|
|
"zk": "192.168.33.7",
|
|
"scheduler_zk_path": "/aurora/scheduler",
|
|
"auth_mechanism": "UNAUTHENTICATED",
|
|
"slave_run_directory": "latest",
|
|
"slave_root": "/var/lib/mesos"
|
|
}
|
|
} |