Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

databricks.sql.exc.RequestError: Error during request to server. type object 'Retry' has no attribute 'backoff_jitter' #516

Closed
Assignees
madhav-db
@diman82

Description

@diman82

Requirements.txt:

databricks-sql-connector[pyarrow]==3.7.2urllib3==1.26.20

Test code:

import logginglogger = logging.getLogger("databricks.sql")logger.setLevel(logging.DEBUG)def debug_requests_on():    '''Switches on logging of the requests module.'''    from http.client import HTTPConnection    import contextlib    HTTPConnection.debuglevel = 1    logging.basicConfig()    logging.getLogger().setLevel(logging.DEBUG)    requests_log = logging.getLogger("requests.packages.urllib3")    requests_log.setLevel(logging.DEBUG)    requests_log.propagate = Truedebug_requests_on()from databricks import sqlfrom databricks.sql.exc import DatabaseErrorconnection = sql.connect(    server_hostname='dbc-e3fa0b0e-6d48.cloud.databricks.com',    http_path="/sql/1.0/warehouses/a70cb6f048d0c768",    access_token='my_personal_token')

Exception:

DEBUG:databricks.sql.thrift_backend:retry parameter: _retry_delay_min given_or_default 1.0DEBUG:databricks.sql.thrift_backend:retry parameter: _retry_delay_max given_or_default 60.0DEBUG:databricks.sql.thrift_backend:retry parameter: _retry_stop_after_attempts_count given_or_default 30DEBUG:databricks.sql.thrift_backend:retry parameter: _retry_stop_after_attempts_duration given_or_default 900.0DEBUG:databricks.sql.thrift_backend:retry parameter: _retry_delay_default given_or_default 5.0DEBUG:databricks.sql.thrift_backend:Sending request: OpenSession(<REDACTED>)DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): dbc-e3fa0b0e-6d48.cloud.databricks.com:443DEBUG:urllib3.util.retry:Incremented Retry for (url='/sql/1.0/warehouses/a70cb6f048d0c768'): DatabricksRetryPolicy(total=29, connect=None, read=None, redirect=None, status=None)INFO:databricks.sql.thrift_backend:Error during request to server. type object 'Retry' has no attribute 'backoff_jitter': {"method": "OpenSession", "session-id": null, "query-id": null, "http-code": null, "error-message": "", "original-exception": "type object 'Retry' has no attribute 'backoff_jitter'", "no-retry-reason": "non-retryable error", "bounded-retry-delay": null, "attempt": "1/30", "elapsed-seconds": "0.2568490505218506/900.0"}Traceback (most recent call last):

Connection is done from a personal workstation.
Any ideas how to debug this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp