<?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: Reading from /tmp no longer working in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27298#M19175</link>
    <description>&lt;P&gt;I encountered this same issue, and figured out a fix!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, it seems like only %sh cells can access the /tmp directory. So I just did...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%sh ch /tmp/&amp;lt;file&amp;gt; /dbfs/&amp;lt;desired-location&amp;gt; and then accessed it form there using Spark.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 14:55:43 GMT</pubDate>
    <dc:creator>Evan_From_Bosto</dc:creator>
    <dc:date>2023-01-05T14:55:43Z</dc:date>
    <item>
      <title>Reading from /tmp no longer working</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27295#M19172</link>
      <description>&lt;P&gt;Since yesterday, reading a file copied into the cluster is no longer working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What used to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blob = gcs_bucket.get_blob("dev/data.ndjson") -&amp;gt; works&lt;/P&gt;&lt;P&gt;blob.download_to_filename("/tmp/data-copy.ndjson") -&amp;gt; works&lt;/P&gt;&lt;P&gt;df = spark.read.json("/tmp/data-copy.ndjson") -&amp;gt; fails&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling os.listdir('/tmp'), the file is listed as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked yesterday. Has something changed?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 13:29:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27295#M19172</guid>
      <dc:creator>su</dc:creator>
      <dc:date>2022-10-14T13:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from /tmp no longer working</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27297#M19174</link>
      <description>&lt;P&gt;Hi @Sarah Usher​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or &lt;B&gt;mark an answer as best&lt;/B&gt;? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 13:01:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27297#M19174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-27T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from /tmp no longer working</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27298#M19175</link>
      <description>&lt;P&gt;I encountered this same issue, and figured out a fix!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, it seems like only %sh cells can access the /tmp directory. So I just did...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%sh ch /tmp/&amp;lt;file&amp;gt; /dbfs/&amp;lt;desired-location&amp;gt; and then accessed it form there using Spark.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 14:55:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27298#M19175</guid>
      <dc:creator>Evan_From_Bosto</dc:creator>
      <dc:date>2023-01-05T14:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from /tmp no longer working</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27296#M19173</link>
      <description>&lt;P&gt;Hi @Sarah Usher​&amp;nbsp;, could you please provide the error you are receiving when it is getting failed?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:24:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-from-tmp-no-longer-working/m-p/27296#M19173</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-10-18T15:24:17Z</dc:date>
    </item>
  </channel>
</rss>

