<?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: why the userIdentity is anonymous? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/57348#M30756</link>
    <description>&lt;P&gt;If you're using AssumeRole to switch roles, make sure that the assumed role session is being used correctly. The Security Token Service (STS) is responsible for issuing temporary security credentials when assuming roles. Ensure that your EC2 instances have been assigned the correct IAM roles with the necessary permissions. AWS CloudTrail logs typically capture the identity of the caller making the API request. If your EC2 instance has the correct IAM role associated with it, CloudTrail should log the identity appropriately.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 10:09:42 GMT</pubDate>
    <dc:creator>CharlesReily</dc:creator>
    <dc:date>2024-01-15T10:09:42Z</dc:date>
    <item>
      <title>why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/57297#M30754</link>
      <description>&lt;P&gt;Do you know why the userIdentity is anonymous in AWS Cloudtail's logs even though I have specified an instance profile?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 08:07:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/57297#M30754</guid>
      <dc:creator>rt-slowth</dc:creator>
      <dc:date>2024-01-15T08:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/57348#M30756</link>
      <description>&lt;P&gt;If you're using AssumeRole to switch roles, make sure that the assumed role session is being used correctly. The Security Token Service (STS) is responsible for issuing temporary security credentials when assuming roles. Ensure that your EC2 instances have been assigned the correct IAM roles with the necessary permissions. AWS CloudTrail logs typically capture the identity of the caller making the API request. If your EC2 instance has the correct IAM role associated with it, CloudTrail should log the identity appropriately.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 10:09:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/57348#M30756</guid>
      <dc:creator>CharlesReily</dc:creator>
      <dc:date>2024-01-15T10:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/58459#M31168</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98179"&gt;@CharlesReily&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;STRONG&gt;Directory listing mode is supported by default. File notification mode is only supported on single user clusters.&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I was trying to use File Notification Mode in DLT and encountered the above problem...&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Jan 2024 00:10:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/58459#M31168</guid>
      <dc:creator>rt-slowth</dc:creator>
      <dc:date>2024-01-26T00:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67864#M33467</link>
      <description>&lt;P&gt;I tried with "Single User" cluster, but still getting error "&lt;SPAN&gt;org.apache.spark.sql.streaming.StreamingQueryException: [STREAM_FAILED] Query [id = 55e0cb16-5e12-444d-a132-a24b999e2e4a, runId = 3ae637bb-847a-472b-a133-64b58ccb35cb] terminated with exception: User: anonymous is not authorized to perform: sqs:receivemessage on resource: arn:aws:sqs:us-east-1:4".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Used "data_security_mode":"SINGLE_USER" in Cluste policy. Am I missing anything ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 22:59:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67864#M33467</guid>
      <dc:creator>Babu_Krishnan</dc:creator>
      <dc:date>2024-05-01T22:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67865#M33468</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/100208"&gt;@Babu_Krishnan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As far as I know, pipelines created with Shared Cluster and Delta Live Table are not in File notification mode.&lt;BR /&gt;Since Delta Live Table is a Shared Cluster by default.&lt;BR /&gt;Before that, how is your AWS IAM role set up?&lt;BR /&gt;If you can share your cluster configuration and the code that performs the readStream, I'll see what I can do.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 23:24:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67865#M33468</guid>
      <dc:creator>rt-slowth</dc:creator>
      <dc:date>2024-05-01T23:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: why the userIdentity is anonymous?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67879#M33470</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87732"&gt;@rt-slowth&lt;/a&gt;&amp;nbsp;,&amp;nbsp; Thanks for the reply. IAM role should be fine (with all the required permissions) since it was perfectly working with DLT without UC. We are seeing this failure when we are migrating. the existing DLT to Unity Catalog. FYI , I am able run the pipeline with "Direcltory listing" mode, I see this SQS permission error only when we use the file notification mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babu_Krishnan_0-1714616743848.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7357iD60109BA0A1A94E5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Babu_Krishnan_0-1714616743848.png" alt="Babu_Krishnan_0-1714616743848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babu_Krishnan_1-1714616817428.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7358i2E0BF0980281C26F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Babu_Krishnan_1-1714616817428.png" alt="Babu_Krishnan_1-1714616817428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 02:27:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-the-useridentity-is-anonymous/m-p/67879#M33470</guid>
      <dc:creator>Babu_Krishnan</dc:creator>
      <dc:date>2024-05-02T02:27:31Z</dc:date>
    </item>
  </channel>
</rss>

