<?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: ErrorCode: LakehouseOperationFailed in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4788692#M11526</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/678554"&gt;@fieldsl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The issue may be due to several pipelines writing .parquet files to the Lakehouse at the same time. Consider staging the Copy Data activities with dependencies to prevent parallel writes, and review the Monitoring Hub for more information about pipeline activity and resource usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2025 09:51:16 GMT</pubDate>
    <dc:creator>v-saisrao-msft</dc:creator>
    <dc:date>2025-08-06T09:51:16Z</dc:date>
    <item>
      <title>ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4787916#M11504</link>
      <description>&lt;P&gt;We have a Master Pipeline that runs overnight, and we’re encountering the &lt;EM&gt;LakehouseOperationFailed&lt;/EM&gt; error several times a week. The failure doesn’t consistently occur on the same Copy Data activity, but the ones it does fail on share a common pattern: they pull data from a SQL database and write it as a .parquet file to the Lakehouse. These errors typically happen when multiple pipelines are running simultaneously, all attempting to write .parquet files to the Lakehouse at the same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the full error:&amp;nbsp;&lt;/P&gt;&lt;H6&gt;ErrorCode=LakehouseOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Lakehouse operation failed for: An error occurred while sending the request.. Workspace: '?'. Path: '?/Files/2025-08-05.parquet'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The underlying connection was closed: An unexpected error occurred on a send.,Source=System,''Type=System.IO.IOException,Message=Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.,Source=System,''Type=System.Net.Sockets.SocketException,Message=An existing connection was forcibly closed by the remote host,Source=System,'&lt;/H6&gt;&lt;P&gt;Based on this, any ideas on what is happening along with possible ideas on where to look and what to chagne?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 13:15:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4787916#M11504</guid>
      <dc:creator>fieldsl</dc:creator>
      <dc:date>2025-08-05T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4788692#M11526</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/678554"&gt;@fieldsl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The issue may be due to several pipelines writing .parquet files to the Lakehouse at the same time. Consider staging the Copy Data activities with dependencies to prevent parallel writes, and review the Monitoring Hub for more information about pipeline activity and resource usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 09:51:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4788692#M11526</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-08-06T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4792564#M11622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/678554"&gt;@fieldsl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you had a chance to review the solution we shared earlier? If the issue persists, feel free to reply so we can help further.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 03:17:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4792564#M11622</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-08-11T03:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4792655#M11623</link>
      <description>&lt;P&gt;Try to reduce concurrency to write the data into lakehouse at pipeline level.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 04:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4792655#M11623</guid>
      <dc:creator>BalajiL</dc:creator>
      <dc:date>2025-08-11T04:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793257#M11654</link>
      <description>&lt;P&gt;My appologies I was off at a conference this week and had the oppertunity to ask this question to a few people. My understanding is that there shouldn't be any issue writing to files in parallel to the lakehouse at the same time. As such, I have not updated the pipeline to run sequential.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, I did update both of the Copy data Activities to do a Retry but my understanding is that this shouldn't be necessary either.&amp;nbsp;This issue also doesn't occer ever day, it's kind of hit or miss through out the week, so it's hard to say if this actually addressed the issue or not. I'll monitor through the rest of the week and see what happens. Should I encounter this again I will consider spliting the pipeline to run Sequential but would like to understand what and why it's happening before making that change.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to add a little more context, the one file contains 3 rows of data and the other file contains about 1,000 of records and we are on a F64 Capacity. The files that are being written to the lakehouse are never writing to the same location. Every pipeline has it's own folder that it's writing to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 13:04:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793257#M11654</guid>
      <dc:creator>fieldsl</dc:creator>
      <dc:date>2025-08-11T13:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793304#M11657</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/678554"&gt;@fieldsl&lt;/a&gt;&amp;nbsp;&amp;nbsp;As I said earlier, there are many concurrent threads running in parallel. Try to optimize the concurrency at the pipeline level, that would resolve the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BalajiL_0-1754920308095.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1290264iC2515A4D402B098C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BalajiL_0-1754920308095.png" alt="BalajiL_0-1754920308095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 13:53:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793304#M11657</guid>
      <dc:creator>BalajiL</dc:creator>
      <dc:date>2025-08-11T13:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793344#M11661</link>
      <description>&lt;P&gt;Appologies&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/721084"&gt;@BalajiL&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;I someone skipped right over your post. I will set the Concurrency today and see how this behaves this week.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 14:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4793344#M11661</guid>
      <dc:creator>fieldsl</dc:creator>
      <dc:date>2025-08-11T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode: LakehouseOperationFailed</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4796203#M11719</link>
      <description>&lt;P&gt;It’s been a little over a week, and we haven’t encountered the issue again. At this point, I believe any one of the three solutions could have resolved it individually:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Updating the pipeline to run sequentially and prevent parallel writing of .parquet files&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Adjusting the concurrency&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Adding a retry step&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That said, this still doesn’t explain the root cause. The limited information in the error makes it difficult to pinpoint exactly what happened. While any of the above solutions works, they feel more like temporary fixes to an underlying issue I’d still like to understand. Knowing the cause would help us explain what’s happening and choose the most appropriate long-term solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, I’ll consider this resolved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 17:27:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ErrorCode-LakehouseOperationFailed/m-p/4796203#M11719</guid>
      <dc:creator>fieldsl</dc:creator>
      <dc:date>2025-08-13T17:27:55Z</dc:date>
    </item>
  </channel>
</rss>

