OAuthadaptersbugdatabrickshelp wantedneeds-reprotriagev2
Repository metrics
- Stars
- (7,989 個のスター)
- PR merge metrics
- (平均マージ 2d 13h) (30d で 46 merged PRs)
説明
Describe the bug
Databricks user using U2M Oauth (i.e. specifying auth_type: oauth without a client_id and client_secret) is getting the below error
Port 8020 was in use, using port 8021 instead
listen tcp :8021: bind: address already in use (SQLSTATE: HY000)
full log
/Users/community_member/.local/bin/dbt run
dbt-fusion 2.0.0-beta.33
warning: dbt1700: --macro-debugging is no longer supported
Loading profiles.yml
Fetching packages.yml
Loading dbt_project.yml
Loading dbt_packages/dbt_utils/dbt_project.yml
Loading dbt_packages/utils_core/dbt_project.yml
Loading dbt_internal_packages/dbt-adapters/dbt_project.yml
Loading dbt_internal_packages/dbt-databricks/dbt_project.yml
Loading dbt_internal_packages/dbt-spark/dbt_project.yml
2025/07/02 17:21:46 [INFO] Port 8020 was in use, using port 8021 instead
error: dbt1014: Failed to download source schema for 'source.databricks_systems_data.src_system_billing.usage'. Setting 'static_analysis' to off. Skipping analysis for : ADBC error: [Databricks] [Databricks] failed to execute statement: failed during request visitor: error getting token: oauth callback error: server error: listen tcp :8021: bind: address already in use (SQLSTATE: HY000)
warning: dbt1000: Detected nodes with unsafe introspection, skipping static analysis for these nodes and their downstreams. To enable unsafe static analysis, set static_analysis to 'unsafe' in the nodes configuration. Nodes: 'model.databricks_systems_data.dim_databricks_group' (execute), 'model.databricks_systems_data.dim_databricks_groupuser' (execute), 'model.databricks_systems_data.dim_databricks_user' (execute)
2025/07/02 17:21:47 [INFO] Port 8020 was in use, using port 8021 instead
2025/07/02 17:21:48 [INFO] Port 8020 was in use, using port 8021 instead
2025/07/02 17:21:49 [INFO] Port 8020 was in use, using port 8021 instead
error: dbt1000: ADBC error: [Databricks] [Databricks] failed to execute statement: failed during request visitor: error getting token: oauth callback error: server error: listen tcp :8021: bind: address already in use (SQLSTATE: HY000)
Finished 'run' with 2 errors and 2 warnings in 5s 665ms 121us
2025/07/02 17:21:49 [INFO] Port 8020 was in use, using port 8021 instead
What version of dbt Fusion is this bug in? (find out by running dbt --version)
Is this a discrepancy between the dbt Fusion Engine and dbt Core? Check one.
- YES
- NO
To Reproduce Please submit one of the following
- A minimal YML snippet which reproduces the behavior
- A minimal dbt project which reproduces the behavior
- A description so detailed that the issue can be easily reproduced
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Operating System and CPU Type (please complete the following information):
- Mac/Windows/Linux?
- X86 or ARM?