<?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: How to disable spark connect in the databricks compute? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91719#M1896</link>
    <description>&lt;P&gt;&lt;SPAN&gt;If you only want to disable it, set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;spark.databricks.service.server.enabled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;. However, you might not be able to run your code afterward&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 11:29:48 GMT</pubDate>
    <dc:creator>Bareaj</dc:creator>
    <dc:date>2024-09-25T11:29:48Z</dc:date>
    <item>
      <title>How to disable spark connect in the databricks compute?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91711#M1895</link>
      <description>&lt;P&gt;I want to be able to access the RDD methods of a Dataframe, but it seems that this is not supported in spark connect. I have been trying to disable spark connect in the spark config using,&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;spark&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;databricks&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;service&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;server&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;enabled&lt;/SPAN&gt; &lt;SPAN class=""&gt;false&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;but when I check the type of spark it is still `pyspark.sql.connect.session.SparkSession`. How do I disable spark connect?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 09:47:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91711#M1895</guid>
      <dc:creator>chinmay0924</dc:creator>
      <dc:date>2024-09-25T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable spark connect in the databricks compute?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91719#M1896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you only want to disable it, set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;spark.databricks.service.server.enabled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;. However, you might not be able to run your code afterward&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 11:29:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91719#M1896</guid>
      <dc:creator>Bareaj</dc:creator>
      <dc:date>2024-09-25T11:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable spark connect in the databricks compute?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91736#M1897</link>
      <description>&lt;P&gt;Maybe you can do something like:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;pyspark&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;sql&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;SparkSession&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;SparkSession&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;builder&lt;/SPAN&gt;&lt;SPAN&gt;.getOrCreate()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;spark&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;__class__&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;__module__&lt;/SPAN&gt; &lt;SPAN&gt;==&lt;/SPAN&gt; &lt;SPAN&gt;"pyspark.sql.connect.session"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; code when it is enable&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; code when not&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Sep 2024 14:10:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91736#M1897</guid>
      <dc:creator>Bareaj</dc:creator>
      <dc:date>2024-09-25T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable spark connect in the databricks compute?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91823#M1909</link>
      <description>&lt;P&gt;I want to disable and I tried setting&amp;nbsp;&lt;SPAN class=""&gt;spark.databricks.service.server.enabled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;false in the spark config while creating the compute, but when I run the notebook with this compute and I do&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;(spark), I get&amp;nbsp;pyspark.sql.connect.session.SparkSession.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 08:14:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91823#M1909</guid>
      <dc:creator>chinmay0924</dc:creator>
      <dc:date>2024-09-26T08:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable spark connect in the databricks compute?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91857#M1911</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have found that when the cluster is shared, it automatically uses that type of session, and in that case, I have not been able to disable it. I don't know if this is your situation. I have avoided some problems that I had with the previous clause.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:55:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-disable-spark-connect-in-the-databricks-compute/m-p/91857#M1911</guid>
      <dc:creator>Bareaj</dc:creator>
      <dc:date>2024-09-26T09:55:35Z</dc:date>
    </item>
  </channel>
</rss>

