I had an error in my get request, but I fixed it and got the results!
curl --netrc --request GET --header "Authorization: Bearer $DATABRICKS_TOKEN" \
'<https://wbd-dcp-cd-dev.cloud.databricks.com/api/2.0/jobs/runs/get?run_id=1077214>'
It looks like the job is returning a success. I am looking at the GO code and it seems like
life_cycle_state
and
result_state
are correct. I don't see any changes.
{
"job_id": 1060228574312365,
"run_id": 1077214,
"creator_user_name": "<mailto:evan.sadler@warnermedia.com|evan.sadler@warnermedia.com>",
"number_in_job": 1077214,
"state": {
"life_cycle_state": "TERMINATED",
"result_state": "SUCCESS",
"state_message": "",
"user_cancelled_or_timedout": false
},
"task": {
"spark_python_task": {
"python_file": "dbfs:///FileStore/tables/entrypoint.py",
"parameters": [
"pyflyte-fast-execute",
"--additional-distribution",
"<s3://p13n-flyte-artifacts/flytesnacks/development/MV7ISU63ZHQQZ7ZYKJRF3VXRWI======/scriptmode.tar.gz>",
"--dest-dir",
".",
"--",
"pyflyte-execute",
"--inputs",
"<s3://p13n-flyte-artifacts/metadata/propeller/flytesnacks-development-alvq9nr4z86dx92nshfk/n0/data/inputs.pb>",
"--output-prefix",
"<s3://p13n-flyte-artifacts/metadata/propeller/flytesnacks-development-alvq9nr4z86dx92nshfk/n0/data/0>",
"--raw-output-data-prefix",
"<s3://p13n-flyte-artifacts/c7/alvq9nr4z86dx92nshfk-n0-0>",
"--checkpoint-path",
"<s3://p13n-flyte-artifacts/c7/alvq9nr4z86dx92nshfk-n0-0/_flytecheckpoints>",
"--prev-checkpoint",
"\"\"",
"--resolver",
"flytekit.core.python_auto_container.default_task_resolver",
"--",
"task-module",
"wf_tests.simple_db",
"task-name",
"test_task"
]
}
},
"cluster_spec": {
"existing_cluster_id": "0315-172340-xc0uhob5"
},
"cluster_instance": {
"cluster_id": "0315-172340-xc0uhob5",
"spark_context_id": "4678757461727715067"
},
"start_time": 1678901558860,
"setup_duration": 1000,
"execution_duration": 22000,
"cleanup_duration": 0,
"end_time": 1678901582290,
"run_name": "test_db",
"run_page_url": "<https://wbd-dcp-cd-dev.cloud.databricks.com/?o=6475167273468992#job/1060228574312365/run/1077214>",
"run_type": "SUBMIT_RUN",
"attempt_number": 0,
"format": "SINGLE_TASK"
}
I am seeing a potential issue in
flyte-propeller
{"json":{"routine":"databricks-worker-0"},"level":"error","msg":"worker panic'd and is shutting down. Error: interface conversion: interface {} is nil, not map[string]interface {}","ts":"2023-03-16T15:23:45Z"}
{"json":{"routine":"databricks-worker-0"},"level":"error","msg":"Failed to sync. Error: worker panic'd and is shutting down. Error: interface conversion: interface {} is nil, not map[string]interface {}","ts":"2023-03-16T15:23:45Z"}
{"json":{"routine":"databricks-worker-2"},"level":"error","msg":"worker panic'd and is shutting down. Error: interface conversion: interface {} is nil, not map[string]interface {}","ts":"2023-03-16T15:24:15Z"}
{"json":{"routine":"databricks-worker-2"},"level":"error","msg":"Failed to sync. Error: worker panic'd and is shutting down. Error: interface conversion: interface {} is nil, not map[string]interface {}","ts":"2023-03-16T15:24:15Z"}