<?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: If 2 users run the same notebook on the same cluster, will they share the same Spark session? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2759#M60</link>
    <description>&lt;P&gt;Hi @Fijoy Vadakkumpadan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 05:49:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-22T05:49:05Z</dc:date>
    <item>
      <title>If 2 users run the same notebook on the same cluster, will they share the same Spark session?</title>
      <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2758#M59</link>
      <description>&lt;P&gt;Databricks docs here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/notebooks/notebook-isolation.html" target="test_blank"&gt;https://docs.databricks.com/notebooks/notebook-isolation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;state that "Every notebook attached to a cluster has a pre-defined variable named&amp;nbsp;spark&amp;nbsp;that represents a&amp;nbsp;SparkSession." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if 2 users run the same notebook on the same cluster? Will they share the session? Or is the Spark session user-specific also in addition to cluster- &amp;amp; notebook-specific?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 15:40:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2758#M59</guid>
      <dc:creator>fijoy</dc:creator>
      <dc:date>2023-06-21T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: If 2 users run the same notebook on the same cluster, will they share the same Spark session?</title>
      <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2759#M60</link>
      <description>&lt;P&gt;Hi @Fijoy Vadakkumpadan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 05:49:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2759#M60</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-22T05:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: If 2 users run the same notebook on the same cluster, will they share the same Spark session?</title>
      <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2760#M61</link>
      <description>&lt;P&gt;The spark session is isolated at the notebook level and is not isolated at the user level. So, two users accessing the same notebook will be using the same spark session&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 19:19:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2760#M61</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-06-22T19:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: If 2 users run the same notebook on the same cluster, will they share the same Spark session?</title>
      <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2761#M62</link>
      <description>&lt;P&gt;Thanks @Lakshay Goel​&amp;nbsp;for the response. Follow up question: can the same notebook be attached to 2 different clusters at the same time by 2 different users?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 19:56:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2761#M62</guid>
      <dc:creator>fijoy</dc:creator>
      <dc:date>2023-06-22T19:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: If 2 users run the same notebook on the same cluster, will they share the same Spark session?</title>
      <link>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2762#M63</link>
      <description>&lt;P&gt;No, we cannot attach the same notebook to 2 different clusters.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 19:25:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/if-2-users-run-the-same-notebook-on-the-same-cluster-will-they/m-p/2762#M63</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-06-23T19:25:02Z</dc:date>
    </item>
  </channel>
</rss>

