<?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: INVALID_HANDLE.SESSION_NOT_FOUND in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/invalid-handle-session-not-found/m-p/117298#M45471</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The error&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-header-top"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-header-top-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;DIV class="lia-message-subject"&gt;INVALID_HANDLE.SESSION_NOT_FOUND&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/error-messages/invalid-handle-error-class#session_not_found" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/error-messages/invalid-handle-error-class#session_not_found&lt;/A&gt;&lt;/SPAN&gt;is a handled error but&amp;nbsp;the grpc errors are something where more improvements are being pushed in every release. Not sure if you are still facing this issue?&lt;/DIV&gt;
&lt;DIV&gt;Thanks!&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 May 2025 06:02:55 GMT</pubDate>
    <dc:creator>NandiniN</dc:creator>
    <dc:date>2025-05-01T06:02:55Z</dc:date>
    <item>
      <title>INVALID_HANDLE.SESSION_NOT_FOUND</title>
      <link>https://community.databricks.com/t5/data-engineering/invalid-handle-session-not-found/m-p/113694#M44613</link>
      <description>&lt;P&gt;We run several workflows and tasks parallel using serverless compute. In many different places of code we started to get errors as below. It looks like that when one task fails, every other that run at the same moment fails as well. After retry on one by one, error disappears. Any ideas what can be the reason ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/databricks/python/lib/python3.11/site-packages/pyspark/sql/connect/streaming/query.py:384: UserWarning: Failed to add the listener because of exception: &amp;lt;_MultiThreadedRendezvous of RPC that terminated with:&lt;BR /&gt;status = StatusCode.INTERNAL&lt;BR /&gt;details = "Cannot operate on a handle that is closed."&lt;BR /&gt;debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-03-26T15:04:39.948318568+00:00", grpc_status:13, grpc_message:"Cannot operate on a handle that is closed."}"&lt;BR /&gt;&amp;gt;&lt;BR /&gt;The listener is not added, please add it again.&lt;BR /&gt;warnings.warn(f"ReleaseExecute failed with exception: {e}.")&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;/databricks/python/lib/python3.11/site-packages/pyspark/sql/connect/client/reattach.py:253: UserWarning: ReleaseExecute failed with exception: &amp;lt;_InactiveRpcError of RPC that terminated with:&lt;BR /&gt;status = StatusCode.INTERNAL&lt;BR /&gt;details = "[INVALID_HANDLE.SESSION_NOT_FOUND] The handle 5d3d1595-c845-4c0c-abf5-f731fa1bf93c is invalid. Session not found. SQLSTATE: HY000"&lt;BR /&gt;debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-03-26T12:06:08.526677766+00:00", grpc_status:13, grpc_message:"[INVALID_HANDLE.SESSION_NOT_FOUND] The handle 5d3d1595-c845-4c0c-abf5-f731fa1bf93c is invalid. Session not found. SQLSTATE: HY000"}"&lt;BR /&gt;&amp;gt;.&lt;BR /&gt;warnings.warn(f"ReleaseExecute failed with exception: {e}.")&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 16:17:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/invalid-handle-session-not-found/m-p/113694#M44613</guid>
      <dc:creator>p_romm</dc:creator>
      <dc:date>2025-03-26T16:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_HANDLE.SESSION_NOT_FOUND</title>
      <link>https://community.databricks.com/t5/data-engineering/invalid-handle-session-not-found/m-p/117298#M45471</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The error&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-header-top"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-header-top-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;DIV class="lia-message-subject"&gt;INVALID_HANDLE.SESSION_NOT_FOUND&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/error-messages/invalid-handle-error-class#session_not_found" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/error-messages/invalid-handle-error-class#session_not_found&lt;/A&gt;&lt;/SPAN&gt;is a handled error but&amp;nbsp;the grpc errors are something where more improvements are being pushed in every release. Not sure if you are still facing this issue?&lt;/DIV&gt;
&lt;DIV&gt;Thanks!&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 May 2025 06:02:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/invalid-handle-session-not-found/m-p/117298#M45471</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-05-01T06:02:55Z</dc:date>
    </item>
  </channel>
</rss>

