mirror of https://github.com/databricks/cli.git
69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
|
|
>>> errcode $CLI bundle validate -o json -t development
|
|
Error: file ./test1.py not found
|
|
|
|
Exit code: 1
|
|
{
|
|
"name": "job",
|
|
"queue": {
|
|
"enabled": true
|
|
},
|
|
"tags": {},
|
|
"tasks": [
|
|
{
|
|
"new_cluster": {
|
|
"node_type_id": "i3.xlarge",
|
|
"num_workers": 1,
|
|
"spark_version": "13.3.x-scala2.12"
|
|
},
|
|
"spark_python_task": {
|
|
"python_file": "./test1.py"
|
|
},
|
|
"task_key": "key1"
|
|
},
|
|
{
|
|
"new_cluster": {
|
|
"spark_version": "13.3.x-scala2.12"
|
|
},
|
|
"spark_python_task": {
|
|
"python_file": "./test2.py"
|
|
},
|
|
"task_key": "key2"
|
|
}
|
|
]
|
|
}
|
|
|
|
>>> errcode $CLI bundle validate -o json -t staging
|
|
Error: file ./test1.py not found
|
|
|
|
Exit code: 1
|
|
{
|
|
"name": "job",
|
|
"queue": {
|
|
"enabled": true
|
|
},
|
|
"tags": {},
|
|
"tasks": [
|
|
{
|
|
"new_cluster": {
|
|
"spark_version": "13.3.x-scala2.12"
|
|
},
|
|
"spark_python_task": {
|
|
"python_file": "./test1.py"
|
|
},
|
|
"task_key": "key1"
|
|
},
|
|
{
|
|
"new_cluster": {
|
|
"node_type_id": "i3.2xlarge",
|
|
"num_workers": 4,
|
|
"spark_version": "13.3.x-scala2.12"
|
|
},
|
|
"spark_python_task": {
|
|
"python_file": "./test3.py"
|
|
},
|
|
"task_key": "key2"
|
|
}
|
|
]
|
|
}
|