<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Notebook cells stuck on &amp;quot;waiting to run&amp;quot; when using Cluster Libraries in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/59599#M843</link>
    <description>&lt;P&gt;&lt;SPAN&gt;This can happen if &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;Metastore&lt;/CODE&gt;&lt;SPAN&gt; client fails to initialize. With python libraries/Jars added, the REPL creation step involves adding installed libraries with Spark &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;addJar&lt;/CODE&gt;&lt;SPAN&gt; operation. This would initialize &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;metastore&lt;/CODE&gt;&lt;SPAN&gt; client and can get stuck if there is any problem with the initialization&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kindly also verify the metastore connectivity.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 13:31:40 GMT</pubDate>
    <dc:creator>nkraj</dc:creator>
    <dc:date>2024-02-07T13:31:40Z</dc:date>
    <item>
      <title>Notebook cells stuck on "waiting to run" when using Cluster Libraries</title>
      <link>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/51994#M597</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;we're observing the following problem when trying to run a notebook on a cluster with libraries installed:&lt;BR /&gt;All notebook cells are stuck in "Waiting to run" (also ones containing only a '1+1' statement).&lt;/P&gt;&lt;P&gt;When running the cluster without installing the packages, notebook execution works fine.&lt;/P&gt;&lt;P&gt;We're using a private setup with public network access disabled in Azure Databricks.&lt;/P&gt;&lt;P&gt;We tried this on both a Shared Cluster and a Single User Cluster.&lt;BR /&gt;The runtime version is 13.3 LTS with Worker/Driver Type of Standard_DS3_v2 and 2 workers.&lt;BR /&gt;Termination is configured after 30 minutes of inactivity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The packages we are trying to install are spark-xml and a custom written plain python package without dependencies. Both packages are uploaded as files to the workspace (for the Single User Cluster) and in a Unity Catalog Volume (for the Shared Cluster).&lt;/P&gt;&lt;P&gt;In the Event log, the clusters show the expected STARTING -&amp;gt; RUNNING -&amp;gt; DRIVER HEALTHY messages. The checkmarks in the Compute UI and on the library page are all green.&lt;/P&gt;&lt;P&gt;One thing that catched my eye when checking the Driver Logs:&lt;BR /&gt;For a cluster without packages installed (i.e. running normally), the Standard error looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.3
ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.3
ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.3
ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.3
Wed Nov 15 08:28:57 2023 Connection to spark from PID  1157
Wed Nov 15 08:28:57 2023 Initialized gateway on port 39503
Wed Nov 15 08:28:58 2023 Connected to spark.&lt;/LI-CODE&gt;&lt;P&gt;On a cluster with packages installed, the last three lines are missing.&lt;/P&gt;&lt;P&gt;Also, after a few minutes, the Event log shows the message METASTORE DOWN for the cluster with libraries installed.&lt;/P&gt;&lt;P&gt;I would greatly appreciate any thoughts on this!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 09:36:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/51994#M597</guid>
      <dc:creator>jannikj</dc:creator>
      <dc:date>2023-11-15T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook cells stuck on "waiting to run" when using Cluster Libraries</title>
      <link>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/59599#M843</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This can happen if &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;Metastore&lt;/CODE&gt;&lt;SPAN&gt; client fails to initialize. With python libraries/Jars added, the REPL creation step involves adding installed libraries with Spark &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;addJar&lt;/CODE&gt;&lt;SPAN&gt; operation. This would initialize &lt;/SPAN&gt;&lt;CODE class="code cc-1o5d2cw" data-renderer-mark="true"&gt;metastore&lt;/CODE&gt;&lt;SPAN&gt; client and can get stuck if there is any problem with the initialization&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kindly also verify the metastore connectivity.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 13:31:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/59599#M843</guid>
      <dc:creator>nkraj</dc:creator>
      <dc:date>2024-02-07T13:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook cells stuck on "waiting to run" when using Cluster Libraries</title>
      <link>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/89582#M1763</link>
      <description>&lt;P&gt;Did you manage to fix this issue? I am facing a similar situation while running a notebook to read the XML files from the storage account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 09:45:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/89582#M1763</guid>
      <dc:creator>BhawaniD</dc:creator>
      <dc:date>2024-09-12T09:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook cells stuck on "waiting to run" when using Cluster Libraries</title>
      <link>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/89631#M1769</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;actually we were able to fix the issue, but I completely forgot about my post.&lt;BR /&gt;The problem was, that some Databricks URLs were not accessible from the cluster due to firewall restrictions.&lt;BR /&gt;We had to make sure that all URLs from this list for the region our cluster is in was reachable:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/resources/ip-domain-region#metastore-artifact-blob-storage-system-tables-storage-log-blob-storage-and-event-hubs-endpoint-ip-addresses" target="_blank"&gt;IP addresses and domains for Azure Databricks services and assets - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This fixed the issue and the cluster now runs normally.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 12:28:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/notebook-cells-stuck-on-quot-waiting-to-run-quot-when-using/m-p/89631#M1769</guid>
      <dc:creator>jannikj</dc:creator>
      <dc:date>2024-09-12T12:28:37Z</dc:date>
    </item>
  </channel>
</rss>

