<?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: Running spark programs as spark OS user in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125943#M17931</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2369/greenhorntechie.html" nodeid="2369"&gt;@Greenhorn Techie&lt;/A&gt; answer is still yes&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2016 00:07:24 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-05T00:07:24Z</dc:date>
    <item>
      <title>Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125939#M17927</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am following Spark 1.6 tech preview tutorial as mentioned in the link &lt;A href="http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/apache-spark-1-6-technical-preview-with-hdp-2-3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In  one of the steps in mentions to switch to spark OS user by doing su spark. &lt;/P&gt;&lt;P&gt;Just wondering if there is any alternate way of running spark applications by proxy user. For example, if I am logging into the machine as user 'tom', who doesn't have sudo rights, then how to run spark applications through the shell without changing to spark user.&lt;/P&gt;&lt;P&gt;Many Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:26:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125939#M17927</guid>
      <dc:creator>techiegreenhorn</dc:creator>
      <dc:date>2016-02-04T23:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125940#M17928</link>
      <description>&lt;P&gt;you can run as tom, I don't see issues &lt;A rel="user" href="https://community.cloudera.com/users/2369/greenhorntechie.html" nodeid="2369"&gt;@Greenhorn Techie&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:27:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125940#M17928</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-04T23:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125941#M17929</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2369/greenhorntechie.html" nodeid="2369"&gt;@Greenhorn Techie&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;You have to be careful before you switch users because you need to make sure that your id had proper permissions on HDFS to read and write. Answer is yes but again, make sure you do this&lt;/P&gt;&lt;P&gt;su  - hdfs&lt;/P&gt;&lt;P&gt;hdfs dfs -mkdir /user/tom&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R tom:hdfs /user/tom&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125941#M17929</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-04T23:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125942#M17930</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The reason I ask this question is because in the tech preview tutorial, its explicitly mentioned to change to 'spark' user before running the spark-shell commands. So wondering whats the need for it. &lt;/P&gt;&lt;P&gt;Assume, I have logged in as user 'tom' and have a corresponding folder on hdfs - /user/tom with read and write privileges. In that case, can I run spark-shell without changing to 'spark' user as mentioned in the link?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:06:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125942#M17930</guid>
      <dc:creator>techiegreenhorn</dc:creator>
      <dc:date>2016-02-05T00:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125943#M17931</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2369/greenhorntechie.html" nodeid="2369"&gt;@Greenhorn Techie&lt;/A&gt; answer is still yes&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:07:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125943#M17931</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-05T00:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125944#M17932</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; for the clarification. I got confused because of the explicit mention of it in the tutorial.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125944#M17932</guid>
      <dc:creator>techiegreenhorn</dc:creator>
      <dc:date>2016-02-05T00:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running spark programs as spark OS user</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125945#M17933</link>
      <description>&lt;P&gt;sure thing &lt;A rel="user" href="https://community.cloudera.com/users/2369/greenhorntechie.html" nodeid="2369"&gt;@Greenhorn Techie&lt;/A&gt; try it out and accept best answer. Also encourage you to publish an article on doing that.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:11:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Running-spark-programs-as-spark-OS-user/m-p/125945#M17933</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-05T00:11:27Z</dc:date>
    </item>
  </channel>
</rss>

