<?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 Internal GRPC errors when using databricks connect in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/112817#M44342</link>
    <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in our local development flow we heavily rely on databricks asset bundles and databricks connect. Recently, locally run workflows (i.e. just pyspark python files) have begun to frequently fail with the following grpc error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pyspark.errors.exceptions.connect.SparkConnectGrpcException: &amp;lt;_MultiThreadedRendezvous of RPC that terminated with:
        status = StatusCode.INTERNAL
        details = "Cannot operate on a handle that is closed."
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"Cannot operate on a handle that is closed.", grpc_status:13, created_time:"2025-03-17T15:51:24.396549+01:00"}"&lt;/LI-CODE&gt;&lt;P&gt;This error is non-deterministic and cluster restarts sometimes allow us to run workflows once or twice before the error is appearing again. Might also be coincidental due to the non-deterministic nature, but it seems that some pypsark code fails more often with this error than others.&lt;/P&gt;&lt;P&gt;databricks-connect version: 15.4.7&lt;/P&gt;&lt;P&gt;databricks-sdk: 0.29.0&lt;/P&gt;&lt;P&gt;cluster runtime:&amp;nbsp;15.4 LTS (includes Apache Spark 3.5.0, Scala 2.12)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Researching this error returns basically zero results, so I'm asking if someone else has received and solved this before or this is some known issue?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 15:08:37 GMT</pubDate>
    <dc:creator>marcelhfm</dc:creator>
    <dc:date>2025-03-17T15:08:37Z</dc:date>
    <item>
      <title>Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/112817#M44342</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in our local development flow we heavily rely on databricks asset bundles and databricks connect. Recently, locally run workflows (i.e. just pyspark python files) have begun to frequently fail with the following grpc error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pyspark.errors.exceptions.connect.SparkConnectGrpcException: &amp;lt;_MultiThreadedRendezvous of RPC that terminated with:
        status = StatusCode.INTERNAL
        details = "Cannot operate on a handle that is closed."
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"Cannot operate on a handle that is closed.", grpc_status:13, created_time:"2025-03-17T15:51:24.396549+01:00"}"&lt;/LI-CODE&gt;&lt;P&gt;This error is non-deterministic and cluster restarts sometimes allow us to run workflows once or twice before the error is appearing again. Might also be coincidental due to the non-deterministic nature, but it seems that some pypsark code fails more often with this error than others.&lt;/P&gt;&lt;P&gt;databricks-connect version: 15.4.7&lt;/P&gt;&lt;P&gt;databricks-sdk: 0.29.0&lt;/P&gt;&lt;P&gt;cluster runtime:&amp;nbsp;15.4 LTS (includes Apache Spark 3.5.0, Scala 2.12)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Researching this error returns basically zero results, so I'm asking if someone else has received and solved this before or this is some known issue?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:08:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/112817#M44342</guid>
      <dc:creator>marcelhfm</dc:creator>
      <dc:date>2025-03-17T15:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113264#M44488</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153829"&gt;@marcelhfm&lt;/a&gt;&amp;nbsp; Are you able to find a soln to this error?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 09:03:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113264#M44488</guid>
      <dc:creator>somya</dc:creator>
      <dc:date>2025-03-21T09:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113414#M44526</link>
      <description>&lt;P&gt;No, unfortunately not. Have you encountered similar behavior before?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 12:49:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113414#M44526</guid>
      <dc:creator>marcelhfm</dc:creator>
      <dc:date>2025-03-24T12:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113818#M44648</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153829"&gt;@marcelhfm&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Two questions:&lt;BR /&gt;- Was your script working before with the same configuration?&amp;nbsp;&lt;BR /&gt;- What are you trying to do?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:23:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113818#M44648</guid>
      <dc:creator>ChrisChieu</dc:creator>
      <dc:date>2025-03-27T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113826#M44652</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/102584"&gt;@ChrisChieu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had the same issue happen to me today. A previously working workflow using serverless compute that is doing streaming foreachbatch operation. It sort of silently failed and ended up timing out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 17:16:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113826#M44652</guid>
      <dc:creator>cmathieu</dc:creator>
      <dc:date>2025-03-27T17:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113872#M44666</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Was your script working before with the same configuration?&lt;BR /&gt;&lt;/SPAN&gt;- Yes, this error has only been coming up recently. And it is super undeterministic, comes up couple of times per week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;What are you trying to do?&lt;/P&gt;&lt;P&gt;- We're using Asset Bundles and Databricks Connect to develop pyspark tasks. More specifically, to speed up development flows, we develop pyspark tasks and execute them locally. Later they will be turned into DLT Workflows.&lt;/P&gt;&lt;P&gt;Any more information I can provide you?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Mar 2025 09:01:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/113872#M44666</guid>
      <dc:creator>marcelhfm</dc:creator>
      <dc:date>2025-03-28T09:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/114043#M44708</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/102584"&gt;@ChrisChieu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am encountering the exact same&amp;nbsp;error as marcelhfm on my side as well. Have only very rarely encountered this issue in the past, usually upon a re-run everything worked fine.&lt;/P&gt;&lt;P&gt;Since Friday (note: no code or environment changes made), I'm encountering this issue on almost everything I try to run with databricks connect, which is a major problem for us as it renders most of our local workflows unusable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:06:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/114043#M44708</guid>
      <dc:creator>lukasstr</dc:creator>
      <dc:date>2025-03-31T08:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internal GRPC errors when using databricks connect</title>
      <link>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/114044#M44709</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153829"&gt;@marcelhfm&lt;/a&gt;&amp;nbsp;it might be a Spark Connect issue&lt;BR /&gt;I would say it is the same for the rest of you, guys&lt;/P&gt;
&lt;P&gt;Nothing much to do until the situation is fixed by Databricks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:53:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/internal-grpc-errors-when-using-databricks-connect/m-p/114044#M44709</guid>
      <dc:creator>ChrisChieu</dc:creator>
      <dc:date>2025-03-31T08:53:51Z</dc:date>
    </item>
  </channel>
</rss>

