<?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: DAB for_each_task python wheel fail in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/110607#M43622</link>
    <description>&lt;P&gt;it works as expected in later runtime versions.&amp;nbsp; Thanks, we run with upgraded DBR.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 14:38:28 GMT</pubDate>
    <dc:creator>BillBishop</dc:creator>
    <dc:date>2025-02-19T14:38:28Z</dc:date>
    <item>
      <title>DAB for_each_task python wheel fail</title>
      <link>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/109866#M43414</link>
      <description>&lt;P&gt;using python_wheel_wrapper experimental true allows me to use python_wheel_task on an older cluster.&lt;/P&gt;&lt;P&gt;However, if I embed the python_wheel_task in a for_each_task it fails at runtime with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Library installation failed for library due to user error.&amp;nbsp; Error message: Library from /Workspace is not allowed on this cluster.&amp;nbsp; Please switch to using DBR 14.1+ ....."&lt;/P&gt;&lt;P&gt;It seems to me that there is a problem with for_each_task not honoring the experimental feature?&lt;/P&gt;&lt;P&gt;databricks.yml&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;experimental&lt;/SPAN&gt;:&lt;BR /&gt;  &lt;SPAN&gt;python_wheel_wrapper&lt;/SPAN&gt;: true&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Task1 - works fine!&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;python_wheel_task&lt;/SPAN&gt;:&lt;BR /&gt;  &lt;SPAN&gt;package_name&lt;/SPAN&gt;: my_package&lt;BR /&gt;  &lt;SPAN&gt;entry_point&lt;/SPAN&gt;: main&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;libraries&lt;/SPAN&gt;:&lt;BR /&gt;  - &lt;SPAN&gt;whl&lt;/SPAN&gt;: ../dist/*.whl&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Task 2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;for_each_task&lt;/SPAN&gt;:&lt;BR /&gt;  &lt;SPAN&gt;inputs&lt;/SPAN&gt;: &lt;SPAN&gt;"{{tasks.&amp;lt;mystuff&amp;gt;}}"&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;concurrency&lt;/SPAN&gt;: ${var.ingest_concurrency}&lt;BR /&gt;  &lt;SPAN&gt;task&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;task_key&lt;/SPAN&gt;: my_key&lt;BR /&gt;    &lt;SPAN&gt;existing_cluster_id&lt;/SPAN&gt;: ${var.cluster_id}&lt;BR /&gt;&lt;BR /&gt;    python_wheel_task:&lt;BR /&gt;      ...&lt;BR /&gt;    # Putting this inside the for_each_task fails on my cluster!&lt;BR /&gt;    libraries:&lt;BR /&gt;      - whl: ../dist/*.whl&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 17:40:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/109866#M43414</guid>
      <dc:creator>BillBishop</dc:creator>
      <dc:date>2025-02-11T17:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAB for_each_task python wheel fail</title>
      <link>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/109898#M43423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148762"&gt;@BillBishop&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I will check on this internally as outcome does not seem to be correct.&amp;nbsp;If possible, upgrade your cluster to DBR 14.1 or later. This would resolve the issue without relying on the experimental feature&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 20:28:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/109898#M43423</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-11T20:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAB for_each_task python wheel fail</title>
      <link>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/110607#M43622</link>
      <description>&lt;P&gt;it works as expected in later runtime versions.&amp;nbsp; Thanks, we run with upgraded DBR.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:38:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dab-for-each-task-python-wheel-fail/m-p/110607#M43622</guid>
      <dc:creator>BillBishop</dc:creator>
      <dc:date>2025-02-19T14:38:28Z</dc:date>
    </item>
  </channel>
</rss>

