<?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: Databricks Access Bundles - config data needed by notebook in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50046#M553</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92405"&gt;@GiggleByte&lt;/a&gt;&amp;nbsp;@Yes based on demo test that I have done, it is working as you said.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;JSON converted yaml config for job setting need to be placed under resources, that yaml has job config setting, it looks &amp;nbsp;similar to rest api json request converted in form of yaml.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Oct 2023 21:46:54 GMT</pubDate>
    <dc:creator>karthik_p</dc:creator>
    <dc:date>2023-10-28T21:46:54Z</dc:date>
    <item>
      <title>Databricks Access Bundles - config data needed by notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/49975#M548</link>
      <description>&lt;P&gt;I have this structure -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folder-1 - the root of databricks access directory. "databricks.yaml" file is in this directory&lt;/P&gt;&lt;P&gt;Folder-1 / Folder-2&amp;nbsp; has notebooks. One of the notebook, "test-notebook" is used for *job* configuration in databricks.yaml file.&lt;/P&gt;&lt;P&gt;Folder-1 / Folder-2 / configs / config.json is used by "test-notebook". When running the notebook directly in Databricks UI, I can read the contents of config.json and use json data successfully. I use the path 'configs/config.json'&lt;/P&gt;&lt;P&gt;However, when I deploy bundle and run the job, I get FileNotFound error. From the context of a job, the file configs / config.json is not accessible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way to save configuration files within an access bundle and how to ensure that the file is available to the notebook?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&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>Fri, 27 Oct 2023 06:46:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/49975#M548</guid>
      <dc:creator>GiggleByte</dc:creator>
      <dc:date>2023-10-27T06:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Access Bundles - config data needed by notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50012#M550</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92405"&gt;@GiggleByte&lt;/a&gt;&amp;nbsp;adding few more inputs to what&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp; mentioned,&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92405"&gt;@GiggleByte&lt;/a&gt;&amp;nbsp;how you are running job, using cmd/vs console/github/gitalab. your resource folder should have converted yaml of your json not json to run dab jobs from other than databricks UI if i am not wrong&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="karthik_p_0-1698404320318.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4608i664724DC45311BCD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="karthik_p_0-1698404320318.png" alt="karthik_p_0-1698404320318.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 11:01:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50012#M550</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-10-27T11:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Access Bundles - config data needed by notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50028#M552</link>
      <description>&lt;P&gt;I am running the job via "databricks bundle run" command via Azure DevOps pipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using "files" section to databricks.yaml file, but when the notebook runs, it is unable to find conf/config1.json&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiggleByte_0-1698416491049.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4609iD6C80F81FA31D4A1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="GiggleByte_0-1698416491049.png" alt="GiggleByte_0-1698416491049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;- config files are part of the bundle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/72939"&gt;@karthik_p&lt;/a&gt;&amp;nbsp;- so, is it mandatory that all config information needed by notebooks be in yaml format? If yes, then how to notebooks access parameters? For example, if I have a config file called "custom_configs.yaml", then will the notebook be able to open the file "custom_configs.yaml"? Or, is there another way to read the config information?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 14:25:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50028#M552</guid>
      <dc:creator>GiggleByte</dc:creator>
      <dc:date>2023-10-27T14:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Access Bundles - config data needed by notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50046#M553</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92405"&gt;@GiggleByte&lt;/a&gt;&amp;nbsp;@Yes based on demo test that I have done, it is working as you said.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;JSON converted yaml config for job setting need to be placed under resources, that yaml has job config setting, it looks &amp;nbsp;similar to rest api json request converted in form of yaml.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2023 21:46:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-access-bundles-config-data-needed-by-notebook/m-p/50046#M553</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-10-28T21:46:54Z</dc:date>
    </item>
  </channel>
</rss>

