<?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: Cluster scoped init script failing in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/89502#M37831</link>
    <description>&lt;P&gt;Hello Pablo, where did you changed the permissons, we are having the exact same issue, but with dbx.&lt;BR /&gt;&lt;BR /&gt;We are using .sh for installing a library (just doing "pip install ***.whl")&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 16:15:11 GMT</pubDate>
    <dc:creator>PabloCSD</dc:creator>
    <dc:date>2024-09-11T16:15:11Z</dc:date>
    <item>
      <title>Cluster scoped init script failing</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/84011#M37100</link>
      <description>&lt;P&gt;I am creating a cluster with asset bundles and adding a init script to it with asset bundles too. The init script is a .sh file in a UC Volume. When a I run a job, the cluster spins up and fails with this error:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cluster '****' was terminated. Reason: INIT_SCRIPT_FAILURE (CLIENT_ERROR). Parameters: instance_id:****, databricks_error_message:Cluster scoped init script /Volumes/***.sh failed: Script exit status is non-zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enabled the login to S3 and the error logged says:&lt;BR /&gt;&lt;BR /&gt;bash: line 11: /Volumes/***.sh: Permission denied&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The Principal spinning the cluster has ALL PRIVILEGES granted to the volume and file. The init script is quite simple (just to test that it can run):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#!/bin/bash&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;printf&lt;/SPAN&gt; &lt;SPAN&gt;"Hello world!!"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:31:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/84011#M37100</guid>
      <dc:creator>pablobd</dc:creator>
      <dc:date>2024-08-23T07:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster scoped init script failing</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/84015#M37103</link>
      <description>&lt;P&gt;It's actually solved, the principal that had permissions was the integ one, the job was the prod one. So, I needed to give permissions to the prod principal and now it runs.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:53:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/84015#M37103</guid>
      <dc:creator>pablobd</dc:creator>
      <dc:date>2024-08-23T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster scoped init script failing</title>
      <link>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/89502#M37831</link>
      <description>&lt;P&gt;Hello Pablo, where did you changed the permissons, we are having the exact same issue, but with dbx.&lt;BR /&gt;&lt;BR /&gt;We are using .sh for installing a library (just doing "pip install ***.whl")&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 16:15:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cluster-scoped-init-script-failing/m-p/89502#M37831</guid>
      <dc:creator>PabloCSD</dc:creator>
      <dc:date>2024-09-11T16:15:11Z</dc:date>
    </item>
  </channel>
</rss>

