<?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: Limiting user resources for Zep-&amp;gt;Livy-&amp;gt;Spark-&amp;gt;Yarn in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190955#M59091</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17101/matthewcable.html" nodeid="17101"&gt;@Matt Cable&lt;/A&gt; &lt;/P&gt;&lt;P&gt;One of the ways you can do is to configure multiple livy interpreter instances (e.g. %livy_begineer, %livy_expert etc) in the same zeppelin instance (follow steps here: &lt;A href="https://zeppelin.apache.org/docs/latest/manual/interpreters.html)" target="_blank"&gt;https://zeppelin.apache.org/docs/latest/manual/interpreters.html)&lt;/A&gt; and configure separate yarn queues for each instance of the livy interpreter. Since livy also supports user impersonation, this would serve the purpose for even restricting access to certain queues only by certain users&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2017 23:15:22 GMT</pubDate>
    <dc:creator>kbadani</dc:creator>
    <dc:date>2017-04-06T23:15:22Z</dc:date>
    <item>
      <title>Limiting user resources for Zep-&gt;Livy-&gt;Spark-&gt;Yarn</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190954#M59090</link>
      <description>&lt;P&gt;Currently on HDP 2.5, and looking at options for creating groups of users, based on experience, and limiting access to resources based these groups.   For example beginner group users may get 10gb/4vcpu, intermediate gets 50gb/8vcpu, expert users get 200gb/16vcpu.  The stack we are interested in is:  Zeppelin -&amp;gt; Livy -&amp;gt; Spark -&amp;gt; YARN cluster &lt;/P&gt;&lt;P&gt;Initially looking at doing this via YARN queues (i.e. user A can only submit jobs to the beginner queue), but from what I can tell, the Zeppelin Spark interpreter config only allows configuration of one queue, so regardless of user, all jobs would be sent to the same queue.
Another option would be to have multiple Zeppelin's, and configure different queues, but from what I can tell, if we have multiple Zeppelins all managed via Ambari, they will all get the same config. &lt;/P&gt;&lt;P&gt;Am I off base?  Is there a better way to limit resources (primarily memory) based on the user? &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 22:43:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190954#M59090</guid>
      <dc:creator>matthew_cable</dc:creator>
      <dc:date>2017-04-06T22:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting user resources for Zep-&gt;Livy-&gt;Spark-&gt;Yarn</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190955#M59091</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17101/matthewcable.html" nodeid="17101"&gt;@Matt Cable&lt;/A&gt; &lt;/P&gt;&lt;P&gt;One of the ways you can do is to configure multiple livy interpreter instances (e.g. %livy_begineer, %livy_expert etc) in the same zeppelin instance (follow steps here: &lt;A href="https://zeppelin.apache.org/docs/latest/manual/interpreters.html)" target="_blank"&gt;https://zeppelin.apache.org/docs/latest/manual/interpreters.html)&lt;/A&gt; and configure separate yarn queues for each instance of the livy interpreter. Since livy also supports user impersonation, this would serve the purpose for even restricting access to certain queues only by certain users&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 23:15:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190955#M59091</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2017-04-06T23:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting user resources for Zep-&gt;Livy-&gt;Spark-&gt;Yarn</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190956#M59092</link>
      <description>&lt;P&gt;Thanks Kshitij - will go down this route, as it seems to be a good fit.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 00:44:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190956#M59092</guid>
      <dc:creator>matthew_cable</dc:creator>
      <dc:date>2017-04-11T00:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting user resources for Zep-&gt;Livy-&gt;Spark-&gt;Yarn</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190957#M59093</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17101/matthewcable.html" nodeid="17101"&gt;@Matt Cable&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please accept the answer if it helped? Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:21:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Limiting-user-resources-for-Zep-gt-Livy-gt-Spark-gt-Yarn/m-p/190957#M59093</guid>
      <dc:creator>kbadani</dc:creator>
      <dc:date>2017-04-29T01:21:31Z</dc:date>
    </item>
  </channel>
</rss>

