<?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: Databricks-Autoloader-S3-KMS in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-s3-kms/m-p/55274#M30286</link>
    <description>&lt;P&gt;Can you please paste the exact errors and check below things:&lt;BR /&gt;&lt;BR /&gt;check following if its related to KMS:&lt;BR /&gt;1. IAM role policy and KMS policy should have allow permissions&lt;/P&gt;&lt;P&gt;2. Did you use extraConfig while mounting the source-s3 bucket:&lt;BR /&gt;If you have used IAM role while mounting the bucket. Verify&amp;nbsp;&lt;SPAN&gt;iam-role-arn has KMS related permissions::&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;fs&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;mount&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"s3a://src-bucket"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"/mnt/my-mount"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"sse-s3"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;extraConfigs&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;Map&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"fs.s3a.credentialsType"&lt;/SPAN&gt; &lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;"AssumeRole"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"fs.s3a.stsAssumeRole.arn"&lt;/SPAN&gt; &lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;"iam-role-arn"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Dec 2023 18:50:03 GMT</pubDate>
    <dc:creator>kulkpd</dc:creator>
    <dc:date>2023-12-14T18:50:03Z</dc:date>
    <item>
      <title>Databricks-Autoloader-S3-KMS</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-s3-kms/m-p/55228#M30275</link>
      <description>&lt;P&gt;Hi, I am working on a requirement where I am using autoloader in a DLT pipeline to ingest new files as they come.&lt;BR /&gt;This flow is working fine. However I am facing an issue, when we have the source bucket an s3 location, since the bucket is having a SSE-KMS setup and when it tries to write schemaLocation, it is throwing an error.&lt;BR /&gt;&lt;BR /&gt;What extra changes need to be done, I have provided the kms related permissions to the instance profile that is getting used. What changes I need to make in my notebook/pipeline to get it working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:46:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-autoloader-s3-kms/m-p/55228#M30275</guid>
      <dc:creator>shivam-singh</dc:creator>
      <dc:date>2023-12-14T08:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-Autoloader-S3-KMS</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-autoloader-s3-kms/m-p/55274#M30286</link>
      <description>&lt;P&gt;Can you please paste the exact errors and check below things:&lt;BR /&gt;&lt;BR /&gt;check following if its related to KMS:&lt;BR /&gt;1. IAM role policy and KMS policy should have allow permissions&lt;/P&gt;&lt;P&gt;2. Did you use extraConfig while mounting the source-s3 bucket:&lt;BR /&gt;If you have used IAM role while mounting the bucket. Verify&amp;nbsp;&lt;SPAN&gt;iam-role-arn has KMS related permissions::&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;fs&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;mount&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"s3a://src-bucket"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"/mnt/my-mount"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"sse-s3"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;extraConfigs&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;Map&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"fs.s3a.credentialsType"&lt;/SPAN&gt; &lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;"AssumeRole"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"fs.s3a.stsAssumeRole.arn"&lt;/SPAN&gt; &lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt; &lt;SPAN&gt;"iam-role-arn"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2023 18:50:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-autoloader-s3-kms/m-p/55274#M30286</guid>
      <dc:creator>kulkpd</dc:creator>
      <dc:date>2023-12-14T18:50:03Z</dc:date>
    </item>
  </channel>
</rss>

