<?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: How to restrict valid users from submitting Spark YARN Job? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153294#M28704</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/104/sball.html" nodeid="104"&gt;@Simon Elliston Ball&lt;/A&gt; I will try that &lt;/P&gt;&lt;P&gt;BTW: &lt;/P&gt;&lt;P&gt;I see in the documentation : &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html&lt;/A&gt; which talks about creating a separate user : spark and keytab for it, and spark user will submit the jobs. ( Personally I don't like the idea to submit all the jobs by a single user)&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 16:55:25 GMT</pubDate>
    <dc:creator>smartninja723</dc:creator>
    <dc:date>2016-05-18T16:55:25Z</dc:date>
    <item>
      <title>How to restrict valid users from submitting Spark YARN Job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153292#M28702</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;On our Kerberized HDP, I tested that a valid A/D user once granted the TGT using kinit, is able to submit the spark job (using spark shell and also using spark-submit). However, I would like to restrict a few groups and users from submitting the job to the cluster. Is there a way around?&lt;/P&gt;&lt;P&gt;I see in the documentation : &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html&lt;/A&gt; which talks about creating a separate user : spark and keytab for it, and spark user will submit the jobs. ( Personally I don't like the idea to submit all the jobs by a single user) &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 00:12:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153292#M28702</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-05-18T00:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict valid users from submitting Spark YARN Job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153293#M28703</link>
      <description>&lt;P&gt;You can do this with YARN ACLs against the relevant yarn queues. A better way of implementing this would be to use Ranger to set YARN access controls to a given set of queues. You would then require spark users to add queue to their submit job, and the authentication would be enforced. To ensure this, prevent user access to the default queue. &lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 00:29:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153293#M28703</guid>
      <dc:creator>sball</dc:creator>
      <dc:date>2016-05-18T00:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict valid users from submitting Spark YARN Job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153294#M28704</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/104/sball.html" nodeid="104"&gt;@Simon Elliston Ball&lt;/A&gt; I will try that &lt;/P&gt;&lt;P&gt;BTW: &lt;/P&gt;&lt;P&gt;I see in the documentation : &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_spark-guide/content/installing-kerb-spark.html&lt;/A&gt; which talks about creating a separate user : spark and keytab for it, and spark user will submit the jobs. ( Personally I don't like the idea to submit all the jobs by a single user)&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 16:55:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153294#M28704</guid>
      <dc:creator>smartninja723</dc:creator>
      <dc:date>2016-05-18T16:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict valid users from submitting Spark YARN Job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153295#M28705</link>
      <description>&lt;P&gt;This doc is just showing you an example. &lt;/P&gt;&lt;P&gt;Instead of using the principal "spark/blue1@EXAMPLE.COM", we could also consider using the principal "app1/blue1@EXAMPLE.COM" for one application, then using "app2/blue1@EXAMPLE.COM" for a second application etc.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 17:23:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-restrict-valid-users-from-submitting-Spark-YARN-Job/m-p/153295#M28705</guid>
      <dc:creator>sluangsay</dc:creator>
      <dc:date>2016-05-19T17:23:43Z</dc:date>
    </item>
  </channel>
</rss>

