databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

[ISSUE] ManyError: Detected 21 failures while installing UCX - Invalid request path and BadRequest errors in Databricks SDK

Open shan494 opened this issue 1 year ago • 0 comments
trafficstars

Description: I encountered 21 failures while trying to install UCX from my local Windows machine using PowerShell. The errors include AstroidSyntaxError, BadRequest, and Invalid request path. These issues seem to stem from the Databricks SDK for Python, and some requests to the Databricks API are failing. Below is the detailed error message and request logs.

Steps to Reproduce: Run databricks labs install ucx from Windows PowerShell. Multiple BadRequest and Invalid request path errors occur when trying to access certain notebook paths via the Databricks API. The errors also include AstroidSyntaxError: Parsing Python code failed due to an unexpected end of file in Python code. Expected Behavior: The UCX installation should complete successfully without invalid request paths or parsing errors.

Actual Behavior: The installation process fails with multiple errors, including:

AstroidSyntaxError: Parsing Python code failed.

BadRequest: unable to parse response. Invalid request path errors.

Environment: Databricks SDK Version: 0.33.0 UCX Version: 0.38.0 Python Version: 3.11.0rc1 Operating System: Windows 10 (local machine) User-Agent: ucx/0.38.0 databricks-sdk-py/0.33.0 python/3.11.0rc1 os/windows auth/runtime blueprint/0.9.0 ucx/0.38.0 lsql/0.12.1 cmd/assessment runtime/15.4

Request log:```GET /api/2.0/workspace/get-status?path=/Shared/jobs/atlas_data/build/pipelines/bronze/../../utils/common_utils

Additional Information: This error occurs while trying to install UCX and run the associated workflows on Databricks. It seems that some request paths involving /Repos/ and /Shared/ notebooks may not be accessible via the API.

shan494 avatar Oct 03 '24 19:10 shan494