<?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 How worker nodes get the packages during scale-up? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-worker-nodes-get-the-packages-during-scale-up/m-p/81481#M1450</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are working with one of the repository where we used to download the artifact/python package from that repository using index url in global init script but now the logic is going to be change we need give the cred to download the package and that will be valid for few hours.&lt;/P&gt;&lt;P&gt;So I have the question how the new worker node will get the same package/artifact during scale up it will download using the global init script or it will get it from the driver node so whether it will hit the configured index url or not?&lt;/P&gt;&lt;P&gt;I have second question If I consider that it(new worker node)&amp;nbsp; will execute the global init script and it will again download the package from the configured index url&amp;nbsp; then whether it will get the new credentials from the azure library where the new cred will update or it will execute with the old cred what it got it on driver node during the first execution?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 12:19:16 GMT</pubDate>
    <dc:creator>satycse06</dc:creator>
    <dc:date>2024-08-01T12:19:16Z</dc:date>
    <item>
      <title>How worker nodes get the packages during scale-up?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-worker-nodes-get-the-packages-during-scale-up/m-p/81481#M1450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are working with one of the repository where we used to download the artifact/python package from that repository using index url in global init script but now the logic is going to be change we need give the cred to download the package and that will be valid for few hours.&lt;/P&gt;&lt;P&gt;So I have the question how the new worker node will get the same package/artifact during scale up it will download using the global init script or it will get it from the driver node so whether it will hit the configured index url or not?&lt;/P&gt;&lt;P&gt;I have second question If I consider that it(new worker node)&amp;nbsp; will execute the global init script and it will again download the package from the configured index url&amp;nbsp; then whether it will get the new credentials from the azure library where the new cred will update or it will execute with the old cred what it got it on driver node during the first execution?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 12:19:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-worker-nodes-get-the-packages-during-scale-up/m-p/81481#M1450</guid>
      <dc:creator>satycse06</dc:creator>
      <dc:date>2024-08-01T12:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: How worker nodes get the packages during scale-up?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-worker-nodes-get-the-packages-during-scale-up/m-p/121237#M3450</link>
      <description>&lt;P data-start="359" data-end="479"&gt;Yes, the new worker node will execute the global init script independently when it starts.&amp;nbsp;&lt;BR /&gt;It does not get the package from the driver or other existing nodes and will hit the configured index URL directly, and try to download the package on its own. Therefore, every new node joining during autoscaling will invoke the index URL to download the artifact/package.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regarding the second question, it depends on how your global init script is written.&lt;BR /&gt;If you pull the credentials from Databricks secrets&amp;nbsp;every time the script runs, then the new node will get fresh credentials, but&amp;nbsp;if the driver fetches the credentials once and writes them to DBFS or environment variables shared across nodes, then new worker nodes may use stale credentials.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="359" data-end="479"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 09:33:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-worker-nodes-get-the-packages-during-scale-up/m-p/121237#M3450</guid>
      <dc:creator>Vidhi_Khaitan</dc:creator>
      <dc:date>2025-06-09T09:33:46Z</dc:date>
    </item>
  </channel>
</rss>

