<?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: upload files to dbfs:/volume using databricks cli in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59378#M31380</link>
    <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/40400"&gt;@saikumar246&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried everything with Singular, Plural, Small &amp;amp; Capital. (&lt;STRONG&gt;v&lt;/STRONG&gt;olume, &lt;STRONG&gt;v&lt;/STRONG&gt;olume&lt;STRONG&gt;s&lt;/STRONG&gt;, &lt;STRONG&gt;V&lt;/STRONG&gt;olume, &lt;STRONG&gt;V&lt;/STRONG&gt;olume&lt;STRONG&gt;s&lt;/STRONG&gt;) but unfortunately its not working with either case. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 07:54:50 GMT</pubDate>
    <dc:creator>Hardy</dc:creator>
    <dc:date>2024-02-06T07:54:50Z</dc:date>
    <item>
      <title>upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59271#M31357</link>
      <description>&lt;P&gt;In our azure pipeline we are using databricks-cli command to upload jar files at dbfs:/FileStore location and that works perfectly fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when we try to use the same command to upload files at dbfs:/Volume/dev/default/files, it does not work and give below error:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Error: dbfs open: /Volume cannot be opened for writing&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Feb 2024 10:07:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59271#M31357</guid>
      <dc:creator>Hardy</dc:creator>
      <dc:date>2024-02-05T10:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59291#M31364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/68708"&gt;@Hardy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the command you are running&amp;nbsp;&lt;SPAN&gt;to upload files at "dbfs:/Volume/dev/default/files" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The specific command to use with the Databricks CLI for uploading files to the volume's location in Databricks is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;bash&lt;BR /&gt;databricks fs cp /path/to/local/file dbfs:/Volumes/my_catalog/my_schema/my_volume/&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Please replace&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;/path/to/local/file&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;with the path of your local file and&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;dbfs:/Volumes/my_catalog/my_schema/my_volume/&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;with the path of your volume in Databricks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Make sure that the user has all the required permissions on the catalog, schema and volume to upload the file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 13:52:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59291#M31364</guid>
      <dc:creator>saikumar246</dc:creator>
      <dc:date>2024-02-05T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59351#M31371</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/40400"&gt;@saikumar246&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I am using the same command but it throws error as mentioned in the question.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 03:51:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59351#M31371</guid>
      <dc:creator>Hardy</dc:creator>
      <dc:date>2024-02-06T03:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59364#M31375</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/68708"&gt;@Hardy&lt;/a&gt;&amp;nbsp;I think you are using the word volume in the path but it should be Volumes(plural), not Volume(singular). Do one thing, copy the volume path directly from the Workspace and try.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 06:34:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59364#M31375</guid>
      <dc:creator>saikumar246</dc:creator>
      <dc:date>2024-02-06T06:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59378#M31380</link>
      <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/40400"&gt;@saikumar246&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried everything with Singular, Plural, Small &amp;amp; Capital. (&lt;STRONG&gt;v&lt;/STRONG&gt;olume, &lt;STRONG&gt;v&lt;/STRONG&gt;olume&lt;STRONG&gt;s&lt;/STRONG&gt;, &lt;STRONG&gt;V&lt;/STRONG&gt;olume, &lt;STRONG&gt;V&lt;/STRONG&gt;olume&lt;STRONG&gt;s&lt;/STRONG&gt;) but unfortunately its not working with either case. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 07:54:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59378#M31380</guid>
      <dc:creator>Hardy</dc:creator>
      <dc:date>2024-02-06T07:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59425#M31398</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/68708"&gt;@Hardy&lt;/a&gt;&amp;nbsp;I am not sure why you are getting that error. I was able to upload the file when i tried in my local terminal. Can you tell where you are running this command? Is this your local terminal or somewhere else?&lt;/P&gt;
&lt;P&gt;And make sure that you are using the latest Databricks CLI.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:21:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59425#M31398</guid>
      <dc:creator>saikumar246</dc:creator>
      <dc:date>2024-02-06T09:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: upload files to dbfs:/volume using databricks cli</title>
      <link>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59435#M31403</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/40400"&gt;@saikumar246&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed my role to Admin.&lt;/P&gt;&lt;P&gt;So that error is gone but now it is popping another error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Put "&lt;A href="https://mycompany-dev.cloud.databricks.com/api/2.0/fs/files/Volumes%2Fqa%2Fdefault%2Flibraries%2Ftest.txt?overwrite=true" target="_blank" rel="noopener"&gt;https://mycompany-dev.cloud.databricks.com/api/2.0/fs/files/Volumes%2Fqa%2Fdefault%2Flibraries%2Ftest.txt?overwrite=true&lt;/A&gt;": context deadline exceeded (Client.Timeout exceeded while awaiting headers)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My command is:&lt;/STRONG&gt;&amp;nbsp;databricks fs cp C:\test.txt dbfs:/Volumes/qa/default/libraries --recursive --overwrite&lt;/P&gt;&lt;P&gt;I am executing this command from my local machine and databricks cli version is: 0.212.2&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:51:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/upload-files-to-dbfs-volume-using-databricks-cli/m-p/59435#M31403</guid>
      <dc:creator>Hardy</dc:creator>
      <dc:date>2024-02-06T09:51:24Z</dc:date>
    </item>
  </channel>
</rss>

