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

[BUG] spurious grpc_wait_for_shutdown_with_timeout() timed out #1478

Open
gabrielrussoc opened this issue Dec 4, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@gabrielrussoc
Copy link

Describe the bug
Whenever I open VSCode, I get a pop up saying there was an error in the Databricks extension. The logs under "Databricks notebooks" are:

==============================
Errors in 00-databricks-init-521d4d873faf4188b22df93d8b79802b.py:
 
WARNING -  All log messages before absl: :InitializeLog() is called are written to STDERR
E0000 00 - 00: 1733321660.067554   16861 init.cc:229] grpc_wait_for_shutdown_with_timeout() timed out.

Things seem to work just fine, but after running my notebook, I see the same error in the end of the logs.

Here's the notebook source:

from databricks.connect import DatabricksSession

spark = DatabricksSession.builder.getOrCreate()
df = spark.createDataFrame(["foo"], ["bar"])
df.show()

and when I run it:

"/home/gabriel.russo/cci-notebooks/.venv/bin/python" "/home/gabriel.russo/.vscode-server/extensions/databricks.databricks-2.4.8-linux-x64/resources/python/dbconnect-bootstrap.py" "/home/gabriel.russo/cci-notebooks/src/notebooks/bre/test_bench.py"
+---+
|bar|
+---+
|foo|
+---+

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1733321886.998162   17855 init.cc:229] grpc_wait_for_shutdown_with_timeout() timed out.

To Reproduce

  1. Install Databricks Extension v2.4.8
  2. Connect it to a cluster with Databricks Connect 14.3.5 and Python 3.10.15
  3. Run the sample notebook
  4. See the error

Screenshots
If applicable, add screenshots to help explain your problem.

System information:

Version: 1.95.2 (Universal)
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

Databricks Extension Version: v2.4.8

Databricks Extension Logs
Please attach the databricks extension logs
(How to find extension logs? the link does not seem to be correct)

Additional context
Add any other context about the problem here.

@gabrielrussoc gabrielrussoc added the bug Something isn't working label Dec 4, 2024
@gabrielrussoc
Copy link
Author

seems to be the same as #1466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant