โ01-15-2024 12:53 AM - edited โ01-15-2024 12:57 AM
When running my notebook using personal compute with instance profile I am indeed able to readStream from kinesis. But adding it as a DLT with UC, while specifying the same instance-profile in the DLT pipeline setting - causes a "MissingAuthentication" exception from kinesis...
If I am using the hive_metastore in the DLT - it does work! Why in UC it does not?!
โ02-05-2024 07:06 PM
Hi,
Please review the "Limitations" section of this Unity Catalog DLT document. Do one or more of these described situations applicable to you, such as possibly:
Existing pipelines that use the Hive metastore cannot be upgraded to use Unity Catalog. To migrate an existing pipeline that writes to Hive metastore, you must create a new pipeline and re-ingest data from the data source(s).
https://docs.databricks.com/en/delta-live-tables/unity-catalog.html#limitations
Thanks.
โ04-25-2024 06:25 AM
Hi, were you able to solve this problem? If so, what was the solution?
โ05-02-2024 10:28 AM
Hello, Did you fix this problem ? We are having similar issue with SQS permission.
โ05-07-2024 05:57 AM
We switched to the preview channel and used a roleArn as param. That worked with DLT.
โ05-07-2024 06:43 AM
@Mathias_Peters , Thanks for the details. Curious how make the roleAan part work , we are able to make it work only with passing accessKey and Secret key, not with roleArn. if you are using SQL based DLT tables , Could you please share some code samples on how you are passing the roleArn info?
โ05-08-2024 03:53 AM
We have used the roleArn and role session name like this:
CREATE STREAMING TABLE table_name
as SELECT * FROM STREAM read_kinesis (
streamName => 'stream',
initialPosition => 'earliest',
roleArn => 'arn:aws:iam::ACCT_ID:role/ROLE_NAME',
roleSessionName => 'databricks'
);
The service principal executing the pipeline has to be able to assume the role referenced by roleArn.
โ05-08-2024 06:58 AM
Thanks for sharing the details @Mathias_Peters , Let us try this.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group