<?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 Exhausted Server when deploying a Databricks Assets Bundle (DAB) in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/101984#M2511</link>
    <description>&lt;P&gt;Hello, I'm currently with a colleague inspecting the code and when trying to deploy the DAB it gets stuck:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(.venv) my_user@my_pc my-dab-project % databricks bundle deploy -t=dev -p=my-dab-project-prod      
Building wheel...
Uploading my-dab-project-1.0.1-py3-none-any.whl...
Uploading bundle files to /Users/my_databricks_user/.bundle/my-dab-project/dev/files...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When doing it in debug mode it shows that it tries to erase some files, it doesn't find it and then the server got exhausted: &lt;STRONG&gt;RESOURCE_EXHAUSTED&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle deploy -t=dev -p=my-dab-project-prod --debug

17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (55 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 404 Not Found
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_DOES_NOT_EXIST",
&amp;lt;   "message": "Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib... (77 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG non-retriable error: Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py) doesn't exist. pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (58 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 404 Not Found
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_DOES_NOT_EXIST",
&amp;lt;   "message": "Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib... (80 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG non-retriable error: Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py) doesn't exist. pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (63 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 429 Too Many Requests
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_EXHAUSTED",
&amp;lt;   "message": "Too many requests. Please wait a moment and try again. If the issue persists, consider adjusting... (66 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (51 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 429 Too Many Requests
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_EXHAUSTED",
&amp;lt;   "message": "Too many requests. Please wait a moment and try again. If the issue persists, consider adjusting... (66 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
^C&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix it without renaming the project (this way helps but is not the most adequate)? Is there a way to deploy it erasing some sort of cache that tries to erase a non existing element?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 20:35:46 GMT</pubDate>
    <dc:creator>PabloCSD</dc:creator>
    <dc:date>2024-12-12T20:35:46Z</dc:date>
    <item>
      <title>Exhausted Server when deploying a Databricks Assets Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/101984#M2511</link>
      <description>&lt;P&gt;Hello, I'm currently with a colleague inspecting the code and when trying to deploy the DAB it gets stuck:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(.venv) my_user@my_pc my-dab-project % databricks bundle deploy -t=dev -p=my-dab-project-prod      
Building wheel...
Uploading my-dab-project-1.0.1-py3-none-any.whl...
Uploading bundle files to /Users/my_databricks_user/.bundle/my-dab-project/dev/files...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When doing it in debug mode it shows that it tries to erase some files, it doesn't find it and then the server got exhausted: &lt;STRONG&gt;RESOURCE_EXHAUSTED&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle deploy -t=dev -p=my-dab-project-prod --debug

17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (55 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 404 Not Found
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_DOES_NOT_EXIST",
&amp;lt;   "message": "Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib... (77 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG non-retriable error: Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py) doesn't exist. pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (58 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 404 Not Found
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_DOES_NOT_EXIST",
&amp;lt;   "message": "Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib... (80 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG non-retriable error: Path (/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py) doesn't exist. pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (63 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 429 Too Many Requests
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_EXHAUSTED",
&amp;lt;   "message": "Too many requests. Please wait a moment and try again. If the issue persists, consider adjusting... (66 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
17:17:40 DEBUG POST /api/2.0/workspace/delete
&amp;gt; {
&amp;gt;   "path": "/Users/my_databricks_user/.bundle/my-dab-project/dev/files/venv/lib/pytho... (51 more bytes)"
&amp;gt; }
&amp;lt; HTTP/2.0 429 Too Many Requests
&amp;lt; {
&amp;lt;   "error_code": "RESOURCE_EXHAUSTED",
&amp;lt;   "message": "Too many requests. Please wait a moment and try again. If the issue persists, consider adjusting... (66 more bytes)"
&amp;lt; } pid=83938 mutator=seq mutator=deploy mutator=seq mutator=seq mutator=deferred mutator=seq mutator=files.Upload sdk=true
^C&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix it without renaming the project (this way helps but is not the most adequate)? Is there a way to deploy it erasing some sort of cache that tries to erase a non existing element?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 20:35:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/101984#M2511</guid>
      <dc:creator>PabloCSD</dc:creator>
      <dc:date>2024-12-12T20:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exhausted Server when deploying a Databricks Assets Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/101997#M2512</link>
      <description>&lt;P&gt;Can you provide the code you are running on this DAB to understand the reason why this is calling this directory?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 22:48:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/101997#M2512</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-12T22:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exhausted Server when deploying a Databricks Assets Bundle (DAB)</title>
      <link>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/102072#M2513</link>
      <description>&lt;P&gt;You are using a &lt;STRONG&gt;venv&lt;/STRONG&gt;, the venv has too many files and is not needed to be included, try adding this on your&lt;STRONG&gt; databricks.yml&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sync:
  exclude:
  - "venv"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope it helps&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 14:39:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/exhausted-server-when-deploying-a-databricks-assets-bundle-dab/m-p/102072#M2513</guid>
      <dc:creator>TinSlim</dc:creator>
      <dc:date>2024-12-13T14:39:30Z</dc:date>
    </item>
  </channel>
</rss>

