<?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: Credential Sharing Across Cluster Nodes - spark.conf() in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/credential-sharing-across-cluster-nodes-spark-conf/m-p/129202#M48464</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74890"&gt;@turagittech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I found a KB article related to this error.Let me know if this helps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://kb.databricks.com/data-sources/keyproviderexception-error-when-trying-to-create-an-external-table-on-an-external-schema-with-authentication-at-the-notebook-level/version/1?kb_language=en_US" target="_blank"&gt;https://kb.databricks.com/data-sources/keyproviderexception-error-when-trying-to-create-an-external-table-on-an-external-schema-with-authentication-at-the-notebook-level/version/1?kb_language=en_US&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 07:59:06 GMT</pubDate>
    <dc:creator>Sidhant07</dc:creator>
    <dc:date>2025-08-22T07:59:06Z</dc:date>
    <item>
      <title>Credential Sharing Across Cluster Nodes - spark.conf()</title>
      <link>https://community.databricks.com/t5/data-engineering/credential-sharing-across-cluster-nodes-spark-conf/m-p/129189#M48462</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am struggling to understand how to manage credentials for azure storage across cluster when trying to use Azure python libraries within functions that may end up on the cluster worker nodes.&lt;/P&gt;&lt;P&gt;I am building a task to load blobs from Azure storage where the storage doesn't have HNS enabled this means I cant use dlt/lakeflow to load data. That sucks. I have configured spark.conf settings in the cluster config, and I can see in logs it allegedly(no failures) setting the settings, however I am getting this&lt;/P&gt;&lt;P&gt;Failure to initialize configuration for azue blob store azure.blob.storage&lt;BR /&gt;Invalid configuration value detected for fs.azure.account.key Invalid configuration value detected for fs.azure.account.key&lt;/P&gt;&lt;P&gt;The error is being triggered by a spark.read.json(filename) line of code when it is read to write contents to a table&lt;/P&gt;&lt;P&gt;ClusterConfig&lt;/P&gt;&lt;P&gt;SPARK&lt;/P&gt;&lt;P&gt;spark.conf.set("oauth_string", "OAuth")&lt;BR /&gt;spark.conf.set(fs_oauth_provider_string, "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider")&lt;BR /&gt;spark.conf.set(fs_oauth_client_id_string, application_id)&lt;BR /&gt;spark.conf.set("s_oauth_client_secret_string, service_credential)&lt;BR /&gt;spark.conf.set(fs_oauth_client_endpoint_string, oauth_login)&lt;BR /&gt;spark.conf.set(fs.azure.account.key.storageaccount.blob.core.windows.net, dbutils.secrets.get(scope=key_scope, key=service_credential_key&lt;/P&gt;&lt;P&gt;EnvironmentVariables&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PYSPARK_PYTHON=/databricks/python3/bin/python3&lt;BR /&gt;DATABRICKS_DEFAULT_SERVICE_CREDENTIAL_NAME=dbricks-connector-id&lt;BR /&gt;directory_id=aguid&lt;BR /&gt;key_scope=Secrets&lt;BR /&gt;service_credential_key=secret-accesskey&lt;BR /&gt;oauth_string=fs.azure.account.oauth.provider.type.{storage_account}.blob.core.windows.net&lt;BR /&gt;fs_oauth_provider_string=fs.azure.accountoauth.provider.type.{storage_account}.blob.core.windows.net&lt;BR /&gt;fs_oauth_client_id_string=fs.azure.account.oauth2.client.id.{storage_account}.blob.core.windows.net&lt;BR /&gt;fs_oauth_client_secret_string=fs.azure.account.oauth2.client.secret.{storage_account}.blob.core.windows.net&lt;BR /&gt;fs_oauth_client_endpoint_string=fs.azure.account.oauth2.client.endpoint.{storage_account}.blob.core.windows.net&lt;BR /&gt;oauth_login=&lt;A class="" title="https://login.microsoftonline.com/%7bdirectory_id%7d/oauth2/token" href="https://login.microsoftonline.com/%7Bdirectory_id%7D/oauth2/token" target="_blank" rel="noreferrer noopener"&gt;https://login.microsoftonline.com/{directory_id}/oauth2/token&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've changed a few values for security reasons&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I am, what am I configuring wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not the config, what else is wrong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 03:37:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/credential-sharing-across-cluster-nodes-spark-conf/m-p/129189#M48462</guid>
      <dc:creator>turagittech</dc:creator>
      <dc:date>2025-08-22T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Credential Sharing Across Cluster Nodes - spark.conf()</title>
      <link>https://community.databricks.com/t5/data-engineering/credential-sharing-across-cluster-nodes-spark-conf/m-p/129202#M48464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74890"&gt;@turagittech&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I found a KB article related to this error.Let me know if this helps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://kb.databricks.com/data-sources/keyproviderexception-error-when-trying-to-create-an-external-table-on-an-external-schema-with-authentication-at-the-notebook-level/version/1?kb_language=en_US" target="_blank"&gt;https://kb.databricks.com/data-sources/keyproviderexception-error-when-trying-to-create-an-external-table-on-an-external-schema-with-authentication-at-the-notebook-level/version/1?kb_language=en_US&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 07:59:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/credential-sharing-across-cluster-nodes-spark-conf/m-p/129202#M48464</guid>
      <dc:creator>Sidhant07</dc:creator>
      <dc:date>2025-08-22T07:59:06Z</dc:date>
    </item>
  </channel>
</rss>

