<?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 Shared Access mode cluster FAILS to write data to BigQuery in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102112#M2307</link>
    <description>&lt;P&gt;We try to migrate our old infra to Unity Catalog.&lt;/P&gt;&lt;P&gt;We have some pipelines which write to BigQuery tables.&lt;/P&gt;&lt;P&gt;To enable Unity Catalog to cluster level we have 2 options (&lt;STRONG&gt;Single user&lt;/STRONG&gt; and &lt;STRONG&gt;Shared&lt;/STRONG&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;Unfortunately we tried by using a Shared (Access mode) cluster to write data to BigQuery but we couldn't &lt;SPAN&gt;achieve&amp;nbsp;&lt;/SPAN&gt;it even if we followed the instructions described in (https://docs.databricks.com/en/connect/external-systems/bigquery.html).&lt;/P&gt;&lt;P data-unlink="true"&gt;We &lt;STRONG&gt;CAN&lt;/STRONG&gt; read data but we &lt;STRONG&gt;CANNOT&lt;/STRONG&gt; write any. The error is:&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;EM&gt;org.apache.spark.SparkException: java.io.IOException: Error getting access token from metadata server at: &amp;nbsp; Caused by: org.apache.spark.SparkException: shaded.databricks.com.google.api.client.http.HttpResponseException: 404 Not Found&lt;/EM&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Any help is appreciated.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 17:52:04 GMT</pubDate>
    <dc:creator>GeoPer</dc:creator>
    <dc:date>2024-12-13T17:52:04Z</dc:date>
    <item>
      <title>Shared Access mode cluster FAILS to write data to BigQuery</title>
      <link>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102112#M2307</link>
      <description>&lt;P&gt;We try to migrate our old infra to Unity Catalog.&lt;/P&gt;&lt;P&gt;We have some pipelines which write to BigQuery tables.&lt;/P&gt;&lt;P&gt;To enable Unity Catalog to cluster level we have 2 options (&lt;STRONG&gt;Single user&lt;/STRONG&gt; and &lt;STRONG&gt;Shared&lt;/STRONG&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;Unfortunately we tried by using a Shared (Access mode) cluster to write data to BigQuery but we couldn't &lt;SPAN&gt;achieve&amp;nbsp;&lt;/SPAN&gt;it even if we followed the instructions described in (https://docs.databricks.com/en/connect/external-systems/bigquery.html).&lt;/P&gt;&lt;P data-unlink="true"&gt;We &lt;STRONG&gt;CAN&lt;/STRONG&gt; read data but we &lt;STRONG&gt;CANNOT&lt;/STRONG&gt; write any. The error is:&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;EM&gt;org.apache.spark.SparkException: java.io.IOException: Error getting access token from metadata server at: &amp;nbsp; Caused by: org.apache.spark.SparkException: shaded.databricks.com.google.api.client.http.HttpResponseException: 404 Not Found&lt;/EM&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Any help is appreciated.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 17:52:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102112#M2307</guid>
      <dc:creator>GeoPer</dc:creator>
      <dc:date>2024-12-13T17:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Access mode cluster FAILS to write data to BigQuery</title>
      <link>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102118#M2308</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;Based on the context provided, here are some potential causes and solutions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Metadata Server URL&lt;/STRONG&gt;: Ensure that the URL &lt;CODE&gt;&lt;A href="http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token" target="_blank"&gt;http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token&lt;/A&gt;&lt;/CODE&gt; is accessible from your environment. This URL is used to fetch the access token for the default service account.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Service Account Permissions&lt;/STRONG&gt;: Verify that the service account associated with your Databricks cluster has the necessary permissions to access the required resources. The service account should have roles such as &lt;CODE&gt;Storage Blob Data Contributor&lt;/CODE&gt; assigned at the appropriate level (e.g., storage account level).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Service Account Configuration&lt;/STRONG&gt;: Check if the service account being used is correctly configured and has not been deleted or recreated without updating the corresponding credentials in Databricks. If the service account was recreated, you might need to refresh or update the storage credentials.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 13 Dec 2024 20:35:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102118#M2308</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-13T20:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Access mode cluster FAILS to write data to BigQuery</title>
      <link>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102120#M2309</link>
      <description>&lt;P&gt;Is any relative document I could read to check these possible solutions?&lt;/P&gt;&lt;P&gt;What I can't get is, why I am able to read whereas I cannot write, using the same cluster and the same configuration (credentials).&lt;/P&gt;&lt;P&gt;When I change the cluster from Shared to Single user with the same credentials, everything works perfect. Seems to be Access mode Shared problem, but I cannot get what's going wrong.&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 21:04:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102120#M2309</guid>
      <dc:creator>GeoPer</dc:creator>
      <dc:date>2024-12-13T21:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Access mode cluster FAILS to write data to BigQuery</title>
      <link>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102185#M2310</link>
      <description>&lt;P&gt;If you do a SHOW GRANTS on this cluster what does it shows? if you have SELECT on ANY File, then probably you just need to grant MODIFY on any file as described here&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/table-acls/any-file.html" target="_blank"&gt;https://docs.databricks.com/en/data-governance/table-acls/any-file.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 03:01:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/shared-access-mode-cluster-fails-to-write-data-to-bigquery/m-p/102185#M2310</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-16T03:01:54Z</dc:date>
    </item>
  </channel>
</rss>

