<?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: Databricks Workflow dbt-core job failure with Connection aborted in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98821#M39852</link>
    <description>&lt;P class="_1t7bu9h1 paragraph"&gt;Here are some steps you can take to address this issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Update dbt-databricks Version&lt;/STRONG&gt;: Ensure that you are using the latest version of dbt-databricks. The issue has been addressed in version 1.7.14, which includes changes to connection management and logging improvements.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Adjust Connection Settings&lt;/STRONG&gt;: Modify the connection settings in your dbt profile to reduce the likelihood of idle connections being closed. Specifically, you can set the &lt;CODE&gt;connect_max_idle&lt;/CODE&gt; parameter to a lower value, such as 60 seconds. This setting ensures that connections are not idle for too long, which can help prevent them from being closed unexpectedly.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Example configuration:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;connection_parameters:
  connect_max_idle: 60&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Increase Connection Retries&lt;/STRONG&gt;: Increase the number of connection retries and the timeout settings to provide more resilience against transient connection issues.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Example configuration:&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="markup"&gt;connect_retries: 6
connect_timeout: 600
_socket_timeout: 1200&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 14 Nov 2024 14:29:55 GMT</pubDate>
    <dc:creator>Walter_C</dc:creator>
    <dc:date>2024-11-14T14:29:55Z</dc:date>
    <item>
      <title>Databricks Workflow dbt-core job failure with Connection aborted</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98784#M39840</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When we are using dbt-core task on databricks workflow,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;each 100 workflow executions one job is failing with below reason after the reboot it works well what would be the permanent remediation ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 11:26:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98784#M39840</guid>
      <dc:creator>ChsAIkrishna</dc:creator>
      <dc:date>2024-11-14T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workflow dbt-core job failure with Connection aborted</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98821#M39852</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;Here are some steps you can take to address this issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Update dbt-databricks Version&lt;/STRONG&gt;: Ensure that you are using the latest version of dbt-databricks. The issue has been addressed in version 1.7.14, which includes changes to connection management and logging improvements.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Adjust Connection Settings&lt;/STRONG&gt;: Modify the connection settings in your dbt profile to reduce the likelihood of idle connections being closed. Specifically, you can set the &lt;CODE&gt;connect_max_idle&lt;/CODE&gt; parameter to a lower value, such as 60 seconds. This setting ensures that connections are not idle for too long, which can help prevent them from being closed unexpectedly.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Example configuration:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;connection_parameters:
  connect_max_idle: 60&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;STRONG&gt;Increase Connection Retries&lt;/STRONG&gt;: Increase the number of connection retries and the timeout settings to provide more resilience against transient connection issues.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;Example configuration:&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="markup"&gt;connect_retries: 6
connect_timeout: 600
_socket_timeout: 1200&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 14 Nov 2024 14:29:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98821#M39852</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-11-14T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workflow dbt-core job failure with Connection aborted</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98933#M39868</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp; Kudo's to you, Thank you very much, we placed the "connect retries" lets see.&amp;nbsp;&lt;BR /&gt;Ref :&amp;nbsp;&lt;A href="https://docs.getdbt.com/docs/core/connect-data-platform/databricks-setup#additional-parameters" target="_blank"&gt;https://docs.getdbt.com/docs/core/connect-data-platform/databricks-setup#additional-parameters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 13:39:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workflow-dbt-core-job-failure-with-connection-aborted/m-p/98933#M39868</guid>
      <dc:creator>ChsAIkrishna</dc:creator>
      <dc:date>2024-11-15T13:39:20Z</dc:date>
    </item>
  </channel>
</rss>

