2023-11-24 11:15:46 +00:00
|
|
|
bundle:
|
|
|
|
name: basic
|
|
|
|
|
|
|
|
workspace:
|
2024-11-20 12:20:39 +00:00
|
|
|
{{ if .root_path }}
|
|
|
|
root_path: "{{.root_path}}/.bundle/{{.unique_id}}"
|
|
|
|
{{ else }}
|
2023-11-24 11:15:46 +00:00
|
|
|
root_path: "~/.bundle/{{.unique_id}}"
|
2024-11-20 12:20:39 +00:00
|
|
|
{{ end }}
|
2023-11-24 11:15:46 +00:00
|
|
|
|
|
|
|
resources:
|
|
|
|
jobs:
|
|
|
|
foo:
|
|
|
|
name: test-job-basic-{{.unique_id}}
|
|
|
|
tasks:
|
|
|
|
- task_key: my_notebook_task
|
|
|
|
new_cluster:
|
|
|
|
num_workers: 1
|
|
|
|
spark_version: "{{.spark_version}}"
|
|
|
|
node_type_id: "{{.node_type_id}}"
|
|
|
|
spark_python_task:
|
|
|
|
python_file: ./hello_world.py
|