<?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 Databricks-connect configured with service principal token but unable to retrieve information to local machine in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-connect-configured-with-service-principal-token-but/m-p/7407#M3295</link>
    <description>&lt;P&gt;installed databricks-connect and configured with service principal token, able to start cluster when I use command  spark=SparkSession\.builder\.getOrCreate()  But when trying to retrieve s3 bucket data to local machine or even i run test command  example print(spark.range(100).count())&lt;/P&gt;&lt;P&gt;receiving error message as "invalid token" &lt;/P&gt;&lt;P&gt;py4j.protocol.Py4JJavaError: An error occurred while calling o22.range.&lt;/P&gt;&lt;P&gt;: com.databricks.service.SparkServiceConnectionException: Invalid token&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks-connect version is 10.4.18&lt;/P&gt;&lt;P&gt;python -3.8.10&lt;/P&gt;&lt;P&gt;java - openjdk version "1.8.0_352"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was working fine weeks ago but now it's not working. Double checked token is correct and not expired. Anyone, Please guide me with this?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 22:49:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-20T22:49:35Z</dc:date>
    <item>
      <title>Databricks-connect configured with service principal token but unable to retrieve information to local machine</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-configured-with-service-principal-token-but/m-p/7407#M3295</link>
      <description>&lt;P&gt;installed databricks-connect and configured with service principal token, able to start cluster when I use command  spark=SparkSession\.builder\.getOrCreate()  But when trying to retrieve s3 bucket data to local machine or even i run test command  example print(spark.range(100).count())&lt;/P&gt;&lt;P&gt;receiving error message as "invalid token" &lt;/P&gt;&lt;P&gt;py4j.protocol.Py4JJavaError: An error occurred while calling o22.range.&lt;/P&gt;&lt;P&gt;: com.databricks.service.SparkServiceConnectionException: Invalid token&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks-connect version is 10.4.18&lt;/P&gt;&lt;P&gt;python -3.8.10&lt;/P&gt;&lt;P&gt;java - openjdk version "1.8.0_352"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was working fine weeks ago but now it's not working. Double checked token is correct and not expired. Anyone, Please guide me with this?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 22:49:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-configured-with-service-principal-token-but/m-p/7407#M3295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-20T22:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-connect configured with service principal token but unable to retrieve information to local machine</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-configured-with-service-principal-token-but/m-p/7409#M3297</link>
      <description>&lt;P&gt;Hi @divya08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 05:09:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-configured-with-service-principal-token-but/m-p/7409#M3297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-28T05:09:06Z</dc:date>
    </item>
  </channel>
</rss>

