adventurous-ability-21671
01/17/2025, 6:26 PMdatabricksInstance
we we run the workflow we get this issue in flyte console as well as agent logs
flyteagent failed to create spark task with error: 'databricksInstance'.
Here's the propeller config we have used
enabled_plugins.yaml: |
tasks:
task-plugins:
default-for-task-types:
container: container
container_array: k8s-array
sidecar: sidecar
databricks: agent-service
spark: spark
enabled-plugins:
- container
- sidecar
- k8s-array
- agent-service
- spark
---
agent_service.yaml: |
plugins:
agent-service:
defaultAgent:
endpoint: dns:///flyteagent.ml-flyte-int.svc.cluster.local:8000
insecure: true
supportedTaskTypes:
- spark
To make it work we have to specify the databricks_instance
manually in the task_config
@task(
task_config=Databricks(**DATABRICKS_CONFIG, databricks_instance="<http://dbx.example.com|dbx.example.com>"),
container_image="<http://docker.io/example/image:0.0.1|docker.io/example/image:0.0.1>"
)
Just wondering if thats normal when running databricks tasks with agent, or are we missing anything in the configurationclean-glass-36808
01/17/2025, 7:31 PMclean-glass-36808
01/17/2025, 7:32 PMdatabricks:
enabled: True
plugin_config:
plugins:
databricks:
entrypointFile: dbfs:///FileStore/tables/entrypoint.py
databricksInstance: <DATABRICKS_ACCOUNT>.<http://cloud.databricks.com|cloud.databricks.com>
freezing-airport-6809
adventurous-ability-21671
01/17/2025, 7:46 PMclean-glass-36808
01/17/2025, 7:48 PMclean-glass-36808
01/17/2025, 7:54 PMclean-glass-36808
01/17/2025, 7:55 PMadventurous-ability-21671
01/17/2025, 9:22 PMadventurous-ability-21671
01/20/2025, 9:41 AMaverage-finland-92144
01/20/2025, 1:20 PMadventurous-ability-21671
01/21/2025, 10:21 AM