<?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: Getting error with spark-sftp, no such file in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27426#M19298</link>
    <description>&lt;P&gt;Hi @Andreas P​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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>Wed, 23 Nov 2022 09:32:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-23T09:32:06Z</dc:date>
    <item>
      <title>Getting error with spark-sftp, no such file</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27423#M19295</link>
      <description>&lt;P&gt;In a databricks cluster with Scala 2.1.1 I am trying to read a file into a spark data frame using the following code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;val df = spark.read
  .format("com.springml.spark.sftp")
  .option("host", "*")
  .option("username", "*")
  .option("password", "*")
  .option("fileType", "csv")
  .option("delimiter", ";")
  .option("inferSchema", "true")
  .load("/my_file.csv")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I get the following error&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;org.apache.spark.sql.AnalysisException: Path does not exist: dbfs:/local_disk0/tmp/my_file.csv;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think I need to load the file from a temporary locationbut, I can't find that path and a way to do so. Can anyone help with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 22:23:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27423#M19295</guid>
      <dc:creator>andreas9898</dc:creator>
      <dc:date>2022-10-13T22:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error with spark-sftp, no such file</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27425#M19297</link>
      <description>&lt;P&gt;What distribution is that? I remember that it hasn't worked on the community edition in the past due to a lack of access to the underlying system. Also, there can be differences between single/standard clusters and high concurrency/shared ones.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 11:31:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27425#M19297</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-20T11:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error with spark-sftp, no such file</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27426#M19298</link>
      <description>&lt;P&gt;Hi @Andreas P​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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>Wed, 23 Nov 2022 09:32:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27426#M19298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-23T09:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error with spark-sftp, no such file</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27424#M19296</link>
      <description>&lt;P&gt;Hi @Andreas P​&amp;nbsp;, could you please run the below command and see if you can list the file? &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import os
os.listdir('/dbfs/tmp')&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please refer: &lt;A href="https://docs.databricks.com/files/index.html#access-files-on-the-driver-filesystem" alt="https://docs.databricks.com/files/index.html#access-files-on-the-driver-filesystem" target="_blank"&gt;https://docs.databricks.com/files/index.html#access-files-on-the-driver-filesystem&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:34:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-with-spark-sftp-no-such-file/m-p/27424#M19296</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-10-18T15:34:56Z</dc:date>
    </item>
  </channel>
</rss>

