<?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: Init Script not 'Absolute' in missing-QuestionPost</title>
    <link>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2683#M3</link>
    <description>&lt;P&gt;Hi, could you please enable init script logging and provide the elaborated logs here? Looks like it is not able to get the package from the repo. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/clusters/init-scripts.html#init-script-logging" alt="https://docs.databricks.com/clusters/init-scripts.html#init-script-logging" target="_blank"&gt;https://docs.databricks.com/clusters/init-scripts.html#init-script-logging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, please tag @Debayan Mukherjee​&amp;nbsp;with your next update so that I will get notified. &lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 07:05:20 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-06-23T07:05:20Z</dc:date>
    <item>
      <title>Init Script not 'Absolute'</title>
      <link>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2682#M2</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use an init script from my repo workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cluster is a 'personal compute' cluster with single user access mode with the following runtime version: '13.1 (includes Apache Spark 3.4.0, Scala 2.12)' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 'Files in Repos' set to&lt;B&gt;&amp;nbsp;'DBR 8.4+' &lt;/B&gt;in my workspace settings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the 'workspace' option (not dbfs, or s3) in the destination settings for the init script dropdown. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am getting the following error on Cluster Startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```json&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "reason": {&lt;/P&gt;&lt;P&gt;    "code": "INIT_SCRIPT_FAILURE",&lt;/P&gt;&lt;P&gt;    "type": "CLIENT_ERROR",&lt;/P&gt;&lt;P&gt;    "parameters": {&lt;/P&gt;&lt;P&gt;      "instance_id": "i-0f585b1a60a28a8b1",&lt;/P&gt;&lt;P&gt;      "databricks_error_message": "BAD_REQUEST: requirement failed:  /Workspace/Repos/services+databricks@umccr.org/data-portal-analytics/notebooks/RPackagesToInstall.sh is not absolute."&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;  },&lt;/P&gt;&lt;P&gt;  "add_node_failure_details": {&lt;/P&gt;&lt;P&gt;    "failure_count": 1,&lt;/P&gt;&lt;P&gt;    "resource_type": "container",&lt;/P&gt;&lt;P&gt;    "will_retry": false&lt;/P&gt;&lt;P&gt;  }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 06:17:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2682#M2</guid>
      <dc:creator>alexiswl</dc:creator>
      <dc:date>2023-06-23T06:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script not 'Absolute'</title>
      <link>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2684#M4</link>
      <description>&lt;P&gt;Hi @Debayan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Looks like it is not able to get the package from the repo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what you mean by this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to resolve the issue (also couldn't find the log files after setting the logging to dbfs://cluster-logs/ which was strange).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I think had a sneaky space character before '/Workspace' which caused my issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that resolved, I got an error saying that this path didn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess was that by selecting workspace in the destination settings dropdown menu, I was already in the /workspace directory.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence by using `/Repos/services+databricks@umccr.org/data-portal-analytics/notebooks/&lt;A href="https://rpackagestoinstall.sh/" alt="https://rpackagestoinstall.sh/" target="_blank"&gt;RPackagesToInstall.sh&lt;/A&gt;` instead I was able to run the init script successfully.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any examples of init scripts when using repos available? I couldn't find any. This could be quite useful for others!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 08:59:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2684#M4</guid>
      <dc:creator>alexiswl</dc:creator>
      <dc:date>2023-06-23T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Init Script not 'Absolute'</title>
      <link>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2683#M3</link>
      <description>&lt;P&gt;Hi, could you please enable init script logging and provide the elaborated logs here? Looks like it is not able to get the package from the repo. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/clusters/init-scripts.html#init-script-logging" alt="https://docs.databricks.com/clusters/init-scripts.html#init-script-logging" target="_blank"&gt;https://docs.databricks.com/clusters/init-scripts.html#init-script-logging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, please tag @Debayan Mukherjee​&amp;nbsp;with your next update so that I will get notified. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 07:05:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/missing-questionpost/init-script-not-absolute/m-p/2683#M3</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-06-23T07:05:20Z</dc:date>
    </item>
  </channel>
</rss>

