<?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: an autoloader in file notification mode to get files from S3 on AWS -Error in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/63060#M8735</link>
    <description>&lt;P&gt;I have the same error after adding the IAM permissions noted in the file notification mode documentation. Were you able to find a solution?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 14:20:09 GMT</pubDate>
    <dc:creator>Selz</dc:creator>
    <dc:date>2024-03-08T14:20:09Z</dc:date>
    <item>
      <title>an autoloader in file notification mode to get files from S3 on AWS -Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/59472#M8733</link>
      <description>&lt;P&gt;I configured an autoloader in file notification mode to get files from S3 on AWS.&lt;/P&gt;&lt;P&gt;spark.readStream\&lt;BR /&gt;.format("cloudFiles")\&lt;BR /&gt;.option("cloudFiles.format", "json")\&lt;BR /&gt;.option("cloudFiles.inferColumnTypes", "true")\&lt;BR /&gt;.option("cloudFiles.schemaLocation", "dbfs:/auto-loader/schemas/")\&lt;BR /&gt;.option("cloudFiles.useNotifications", "true")\&lt;BR /&gt;.option("includeExistingFiles", "true")\&lt;BR /&gt;.option("multiLine", "true")\&lt;BR /&gt;.option("inferSchema", "true")\&lt;BR /&gt;.load("s3://orcus-rave-bucket/temp/cludcad_incident3")\&lt;BR /&gt;.writeStream\&lt;BR /&gt;.option("checkpointLocation", "dbfs:/auto-loader/checkpoint04/")\&lt;BR /&gt;.trigger(availableNow=True)\&lt;BR /&gt;.table("al_table3")&lt;/P&gt;&lt;P&gt;I configured IAM rule based on the document URL: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/auto-loader/file-notification-mode#--required-permissions-for-configuring-file-notification-for-aws-s3" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/ingestion/auto-loader/file-notification-mode#--required-permissions-for-configuring-file-notification-for-aws-s3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:19:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/59472#M8733</guid>
      <dc:creator>Chris_Konsur</dc:creator>
      <dc:date>2024-02-06T14:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: an autoloader in file notification mode to get files from S3 on AWS -Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/59473#M8734</link>
      <description>&lt;P&gt;Here is an error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [BasicAWSCredentialsProvider: Access key or secret key is null, com.amazonaws.auth.InstanceProfileCredentialsProvider@5ab84d23: The requested metadata is not found at &lt;A href="http://169.254.169.254/latest/meta-data/iam/security-credentials/" target="_blank"&gt;http://169.254.169.254/latest/meta-data/iam/security-credentials/&lt;/A&gt;]&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:21:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/59473#M8734</guid>
      <dc:creator>Chris_Konsur</dc:creator>
      <dc:date>2024-02-06T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: an autoloader in file notification mode to get files from S3 on AWS -Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/63060#M8735</link>
      <description>&lt;P&gt;I have the same error after adding the IAM permissions noted in the file notification mode documentation. Were you able to find a solution?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 14:20:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/63060#M8735</guid>
      <dc:creator>Selz</dc:creator>
      <dc:date>2024-03-08T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: an autoloader in file notification mode to get files from S3 on AWS -Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/64194#M8736</link>
      <description>&lt;P&gt;In case anyone else stumbles across this, I was able to fix my issue by setting up an instance profile with the&amp;nbsp;file notification permissions and attaching the instance profile to the job cluster. It wasn't clear from the documentation that the file notification permissions can't be set up with a role and job using storage credentials. This article helped:&amp;nbsp;&lt;A href="https://medium.com/@mattwinmill88/deploying-a-databricks-aws-end-to-end-pipeline-using-terraform-921c6b4a36a7" target="_blank"&gt;https://medium.com/@mattwinmill88/deploying-a-databricks-aws-end-to-end-pipeline-using-terraform-921c6b4a36a7&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 15:17:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/64194#M8736</guid>
      <dc:creator>Selz</dc:creator>
      <dc:date>2024-03-20T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: an autoloader in file notification mode to get files from S3 on AWS -Error</title>
      <link>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/99579#M8737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/89988"&gt;@Selz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I currently have the same error when running autoloader on file notification mode. I have done the following steps:&lt;BR /&gt;1. setup instance profile with file notification permissions&lt;/P&gt;&lt;P&gt;2. added the instance profile on databricks workspace , settings-&amp;gt;security-&amp;gt; instance profiles&lt;BR /&gt;3. configured the job compute policy to add the config&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"aws_attributes.instance_profile_arn": {
"type": "allowlist",
"values": [
"arn:aws:iam::&amp;lt;account_id&amp;gt;:instance-profile/&amp;lt;my instance profile role&amp;gt;"
],
"isOptional": true
},&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;however I'm still getting the same error. wondering if I'm I did something wrong or missed a step. I appreciate your guidance on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 07:05:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/an-autoloader-in-file-notification-mode-to-get-files-from-s3-on/m-p/99579#M8737</guid>
      <dc:creator>aliehs0510</dc:creator>
      <dc:date>2024-11-21T07:05:40Z</dc:date>
    </item>
  </channel>
</rss>

