<?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: Limitation on size of init script in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10113#M5358</link>
    <description>&lt;P&gt;oh ok! A quick question @Rahul K​&amp;nbsp;! Are you still using /databricks/init as it relates to the legacy global path? Have you tried saving the cluster-scoped script to a different location such as /databricks/scripts ?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 19:33:48 GMT</pubDate>
    <dc:creator>User16776431039</dc:creator>
    <dc:date>2023-02-15T19:33:48Z</dc:date>
    <item>
      <title>Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10106#M5351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using Databricks Runtime version 11.3LTS and executing a Spark Java Job using a Job Cluster. To automate the execution of this job, we need to define (source in from bash config files) some environment variables through an init script (cluster-scoped) and make them available to the Spark Java job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While doing this, we realized that we're not able to upload an init script of size larger than 5KB at an appropriate DBFS location. Apparently the documentation states that the init script size should not be larger than 64KB. Are there are any settings/configurations at workspace level that can help us raise this limit from 5KB to 64KB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if we're missing anything here. Any help in this regard will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;// Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 06:37:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10106#M5351</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-03T06:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10107#M5352</link>
      <description>&lt;P&gt;Hi @Rahul K​&amp;nbsp;, Could you please share the screenshot of the error you are getting?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 18:15:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10107#M5352</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-02-03T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10108#M5353</link>
      <description>&lt;P&gt;@Rahul K​&amp;nbsp;it looks that's limitation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The init script cannot be larger than 64KB. If a script exceeds that size, an error message appears when you try to save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as on DBFS external mounts init scripts cannot bet stored. @Lakshay Goel​&amp;nbsp;any other inputs please &lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 03:26:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10108#M5353</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-02-04T03:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10109#M5354</link>
      <description>&lt;P&gt;Thank you @Lakshay Goel​&amp;nbsp;for your response and really sorry for the delayed response. I'm not able to attach a screenshot here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below the error I'm getting while uploading a file named db_init.sh to /databricks/init folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error occurred when processing file db_init.sh: Server responded with 0 code. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 16:45:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10109#M5354</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-13T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10110#M5355</link>
      <description>&lt;P&gt;Thank you @karthik p​&amp;nbsp;for your response. I'm trying to  upload a script named db_init.sh (of 10kb size) to /databricks/init folder and getting the following error -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error occurred when processing file db_init.sh: Server responded with 0 code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had it been having size greater than 64kb, then it's expected, but it's having a size of 10kb. Please let me know if there are any settings that help increase this size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 16:48:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10110#M5355</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-13T16:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10111#M5356</link>
      <description>&lt;P&gt;@Rahul K​&amp;nbsp;- Databricks recommends you avoid storing init scripts under /databricks/init (which is now a legacy) to avoid unexpected behaviour. Try using the new Global Init Scripts using either the UI or API or Terraform and see if the issue persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/clusters/init-scripts" target="test_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/clusters/init-scripts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 17:17:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10111#M5356</guid>
      <dc:creator>User16776431039</dc:creator>
      <dc:date>2023-02-14T17:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10112#M5357</link>
      <description>&lt;P&gt;Thank you @Sundar Raman​&amp;nbsp;for your response. Yes, we referred the same link that you shared and we currently use the Cluster-scoped script (following option #4) as against Global (following option #3) because the script needs to be executed only for one cluster and not all clusters that're part of a workspace. We're not using the following options #1 and #2 as they've been deprecated.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Legacy global (deprecated)&lt;/LI&gt;&lt;LI&gt;Cluster-named (deprecated)&lt;/LI&gt;&lt;LI&gt;Global (new)&lt;/LI&gt;&lt;LI&gt;Cluster-scoped&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This clsuter-scoped init script has been provided from the UI and uploaded/deployed to the DBFS root. It has been uploaded/deployed to the DBFS root as described in the shared link (Section - Cluster-scoped init script locations). I'll check if referring it from ADLS directly helps address the size limitatation.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 05:28:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10112#M5357</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-15T05:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10113#M5358</link>
      <description>&lt;P&gt;oh ok! A quick question @Rahul K​&amp;nbsp;! Are you still using /databricks/init as it relates to the legacy global path? Have you tried saving the cluster-scoped script to a different location such as /databricks/scripts ?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:33:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10113#M5358</guid>
      <dc:creator>User16776431039</dc:creator>
      <dc:date>2023-02-15T19:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10114#M5359</link>
      <description>&lt;P&gt;Yes @Sundar Raman​, but that also gives the same error.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 05:32:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10114#M5359</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-16T05:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10115#M5360</link>
      <description>&lt;P&gt;@Rahul K&amp;nbsp;Also please can you confirm the location is not a DBFS mount? Have you tried on any other DBR and do you still have the same issue there? ​&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 10:49:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10115#M5360</guid>
      <dc:creator>User16776431039</dc:creator>
      <dc:date>2023-02-17T10:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10116#M5361</link>
      <description>&lt;P&gt;yes @Sundar Raman​, the location is not a DBFS mount. We tried this in a workspace where DBR 10.4LTS and 11.3LTS are being used.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 08:09:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10116#M5361</guid>
      <dc:creator>Rahul2025</dc:creator>
      <dc:date>2023-02-21T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on size of init script</title>
      <link>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10117#M5362</link>
      <description>&lt;P&gt;Hi @Rahul K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 08:39:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/limitation-on-size-of-init-script/m-p/10117#M5362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-10T08:39:37Z</dc:date>
    </item>
  </channel>
</rss>

