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

Databricks may return 503 response during the cluster startup #16934

Open
ebyhr opened this issue Apr 7, 2023 · 0 comments
Open

Databricks may return 503 response during the cluster startup #16934

ebyhr opened this issue Apr 7, 2023 · 0 comments
Labels
bug Something isn't working delta-lake Delta Lake connector test

Comments

@ebyhr
Copy link
Member

ebyhr commented Apr 7, 2023

Recently, Databricks started returning 503 response during the cluster startup though we currently retry only on 502 error in QueryExecutors#onDelta.

2023-04-07 07:15:50 WARNING: not retrying; stacktrace does not match pattern '\Q[Databricks][DatabricksJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP retry after response received with no Retry-After header, error: HTTP Response code: 503, Error message: Unknown.': [java.lang.RuntimeException: java.sql.SQLException: [Databricks][DatabricksJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: com.databricks.client.jdbc42.internal.apache.http.conn.ConnectTimeoutException: Connect to dbc-***.cloud.databricks.com:443 [dbc-***.cloud.databricks.com/3.128.237.223] failed: Connection timed out.

We found DML may also return 503 and the query may remotely succeed in #14391. It means just retrying on 503 may lead to an unexpected test result. e.g. An INSERT statement might be executed twice and the subsequent assertion fails.

@ebyhr ebyhr added bug Something isn't working test delta-lake Delta Lake connector labels Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working delta-lake Delta Lake connector test
Development

No branches or pull requests

1 participant