<?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>question Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327184#M230003</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86825"&gt;@LegallyBind&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Oct 2021 06:11:51 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2021-10-11T06:11:51Z</dc:date>
    <item>
      <title>What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/325093#M229522</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I was wondering how one would best implement the case where multiple users have their own python environment with their respective packages installed in a Spark2 interpreter. I have not implemented or tested the two approaches below yet but was wondering if I am on a completely wrong path and there would be a very easy and straightforward solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two ways I could think of would be the following:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.) For each notebook set the variable zeppelin.python&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If one would instantiate the interpreter per user you could run the following at the start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;%spark2.conf
zeppelin.python &amp;lt;/your/users/python_env&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would add some complexity for the users because they have to write down their environment paths but would otherwise be very easy to implement (If it really works without hiccups).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;2.) Create a separate Interpreter for every user&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This approach would be to create an interpreter for every user (%spark2 -&amp;gt; %spark2userName).&lt;/P&gt;
&lt;P&gt;This would be relatively easy to explain to users and they don't need to remember any paths. They can support themselves since a universal "Just add your username behind %spark2" as instruction would suffice.&lt;/P&gt;
&lt;P&gt;I have only dipped my toes slightly into creating new Interpreters so I have no clue how easy or complicated it would be to clone one.&lt;/P&gt;
&lt;P&gt;Can you just copy one interpreter's fields and create a copy with new names? I could not find a lot of information on this so any pointers would help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, my approaches might be stupid so if you have an actual solution I am glad to read about it.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 05:53:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/325093#M229522</guid>
      <dc:creator>LegallyBind</dc:creator>
      <dc:date>2021-09-23T05:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/326763#M229927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86825"&gt;@LegallyBind&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the following tutorial.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Customer/How-to-use-multiple-versions-of-Python-in-Zeppelin/ta-p/271226" target="_blank"&gt;https://community.cloudera.com/t5/Customer/How-to-use-multiple-versions-of-Python-in-Zeppelin/ta-p/271226&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 04:34:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/326763#M229927</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-10-07T04:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327184#M230003</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86825"&gt;@LegallyBind&lt;/a&gt;,&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 06:11:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327184#M230003</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-10-11T06:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327237#M230027</link>
      <description>&lt;P&gt;Thank you for reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78612"&gt;@RangaReddy&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The article describes how to create multiple interpreters for multiple versions of Python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is the suggested best practice when one needs multiple Python environments for Spark Interpreters?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 12:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327237#M230027</guid>
      <dc:creator>LegallyBind</dc:creator>
      <dc:date>2021-10-11T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327784#M230150</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86825"&gt;@LegallyBind&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each python, you need to create separate interpreter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Oct 2021 06:55:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/327784#M230150</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-10-16T06:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for multiple python environments with Spark2 interpreter in Zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/328525#M230274</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86825"&gt;@LegallyBind&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 17:36:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-best-practice-for-multiple-python-environments/m-p/328525#M230274</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-10-21T17:36:17Z</dc:date>
    </item>
  </channel>
</rss>

