<?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>question Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398402#M250178</link>
    <description>&lt;P&gt;Good to know it's not an Azure specific issue then. Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33875"&gt;@DanielR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 12:52:38 GMT</pubDate>
    <dc:creator>ipson</dc:creator>
    <dc:date>2024-12-04T12:52:38Z</dc:date>
    <item>
      <title>Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398373#M250171</link>
      <description>&lt;P&gt;I'm running several ETL flows in CDF/Nifi. The flows all involve writing some data to Iceberg tables. These flows are mostly running on a schedule that ranges from hourly to weekly (i.e., infrequent writes). Each data flow deployment has a few independent DAGs that all end with the PutIceberg processor, such that there are multiple separate ETL processes running at different intervals all in the same Nifi deployment.&lt;/P&gt;&lt;P&gt;The problem I see occurs pretty rarely (~once a month) and only for some deployments. Occasionally, the PutIceberg processor will error with 'Failed to acquire a SAS token' (see full error log below).&lt;/P&gt;&lt;P&gt;This will continue happening every time the processor runs unless I restart the flow and then it will run fine again. It seems to happen more often when the processor runs at a daily interval. My flows are using Nifi runtime&amp;nbsp;&lt;SPAN&gt;1.27.0.2.3.14.0-14 and I'm on CDP Public Cloud on Azure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;org.apache.hadoop.fs.azurebfs.contracts.exceptions.SASTokenProviderException: Failed to acquire a SAS token for create-file on [my-data-warehouse-bucket-and-table]/metadata/bb545710-14ea-4b07-b0f5-668978be4e8d-m1.avro due to org.apache.hadoop.security.AccessControlException: org.apache.ranger.raz.intg.RangerRazException: &amp;lt;!doctype html&amp;gt;&amp;lt;html lang="en"&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;HTTP Status 401 ??? Unauthorized&amp;lt;/title&amp;gt;&amp;lt;style type="text/css"&amp;gt;body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;HTTP Status 401 ??? Unauthorized&amp;lt;/h1&amp;gt;&amp;lt;hr class="line" /&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt; Status Report&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Message&amp;lt;/b&amp;gt; org.apache.hadoop.security.authentication.util.SignerException: Invalid signature&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt; The request has not been applied to the target resource because it lacks valid authentication credentials for that resource.&amp;lt;/p&amp;gt;&amp;lt;hr class="line" /&amp;gt;&amp;lt;h3&amp;gt;Apache Tomcat/8.5.96&amp;lt;/h3&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;; HttpStatus: 401&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.services.AbfsClient.appendSASTokenToQuery(AbfsClient.java:1233)&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.services.AbfsClient.appendSASTokenToQuery(AbfsClient.java:1199)&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.services.AbfsClient.createPath(AbfsClient.java:396)&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.conditionalCreateOverwriteFile(AzureBlobFileSystemStore.java:625)&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.createFile(AzureBlobFileSystemStore.java:568)&lt;BR /&gt;at org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.create(AzureBlobFileSystem.java:335)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1177)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1157)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1046)&lt;BR /&gt;at org.apache.iceberg.hadoop.HadoopOutputFile.createOrOverwrite(HadoopOutputFile.java:85)&lt;BR /&gt;... 19 common frames omitted&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:23:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398373#M250171</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2026-04-21T06:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398375#M250172</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/13587"&gt;@venkatsambath&lt;/a&gt;&amp;nbsp;Hi! Do you have any insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 17:07:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398375#M250172</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-12-03T17:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398392#M250176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we experience very the same issue but on AWS. This is Kerberos authN related.&lt;BR /&gt;The Kerberos token expires leading to issues when an AWS STS or Azure SAS token is about to be acquired.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 10:38:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398392#M250176</guid>
      <dc:creator>DanielR</dc:creator>
      <dc:date>2024-12-04T10:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398402#M250178</link>
      <description>&lt;P&gt;Good to know it's not an Azure specific issue then. Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33875"&gt;@DanielR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 12:52:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398402#M250178</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-12-04T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398606#M250255</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 01:07:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398606#M250255</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-12-10T01:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi PutIceberg Processor failed to acquire SAS token on Azure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398639#M250263</link>
      <description>&lt;P&gt;Do you know how to keep it from expiring or renew the token from within Nifi?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 12:33:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-PutIceberg-Processor-failed-to-acquire-SAS-token-on/m-p/398639#M250263</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-12-10T12:33:25Z</dc:date>
    </item>
  </channel>
</rss>

