Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shan494 opened this issue Oct 3, 2024 · 0 comments

Comments

@shan494
Copy link

shan494 commented Oct 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant