<?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: Unable to read file from S3 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14747#M9195</link>
    <description>&lt;P&gt;I tried with all the available LTS versions. &lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 10:49:05 GMT</pubDate>
    <dc:creator>LearningDatabri</dc:creator>
    <dc:date>2022-07-06T10:49:05Z</dc:date>
    <item>
      <title>Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14743#M9191</link>
      <description>&lt;P&gt;I tried to read a file from S3, but facing the below error:&lt;/P&gt;&lt;P&gt;org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 53.0 failed 4 times, most recent failure: Lost task 0.3 in stage 53.0 (TID 82, xx.xx.xx.xx, executor 0): com.databricks.sql.io.FileReadException: Error while reading file s3://&amp;lt;mybucket&amp;gt;/&amp;lt;path&amp;gt;/file.csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;spark.read.options(delimiter = '|').option("header", False).csv('s3://&amp;lt;mybucket&amp;gt;/&amp;lt;path&amp;gt;/file.csv')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 13:36:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14743#M9191</guid>
      <dc:creator>LearningDatabri</dc:creator>
      <dc:date>2022-07-05T13:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14744#M9192</link>
      <description>&lt;P&gt;Have you validated if the file exists or not? &lt;/P&gt;&lt;P&gt;Is this happening with all files are specific files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 15:05:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14744#M9192</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-07-05T15:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14745#M9193</link>
      <description>&lt;P&gt;Which DBR version are you using? Could you please test it with a different DBR version probably DBR 9.x?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 19:33:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14745#M9193</guid>
      <dc:creator>Sivaprasad1</dc:creator>
      <dc:date>2022-07-05T19:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14746#M9194</link>
      <description>&lt;P&gt;The file exists. Few files are not working and few are working.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 10:49:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14746#M9194</guid>
      <dc:creator>LearningDatabri</dc:creator>
      <dc:date>2022-07-06T10:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14747#M9195</link>
      <description>&lt;P&gt;I tried with all the available LTS versions. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 10:49:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14747#M9195</guid>
      <dc:creator>LearningDatabri</dc:creator>
      <dc:date>2022-07-06T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14748#M9196</link>
      <description>&lt;P&gt;I remember I have seen such an issue before. Please check the S3 life cycle management. If the object is migrated to another storage class (mostly archived) then there are possibilities for this error. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 10:57:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14748#M9196</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-07-06T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14749#M9197</link>
      <description>&lt;P&gt;Thanks @Prabakar Ammeappin​&amp;nbsp; for this information. We have life cycle management set. The files with this error were not used for some time and were Archived. I wonder why files were moved to Glacier in 60 days. Have to revisit the lifecycle rules and change it. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:29:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14749#M9197</guid>
      <dc:creator>LearningDatabri</dc:creator>
      <dc:date>2022-07-06T11:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read file from S3</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14750#M9198</link>
      <description>&lt;P&gt;Now it makes sense why I got the error for some files and not for the others. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:31:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-read-file-from-s3/m-p/14750#M9198</guid>
      <dc:creator>LearningDatabri</dc:creator>
      <dc:date>2022-07-06T11:31:21Z</dc:date>
    </item>
  </channel>
</rss>

