<?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: Got permission denied when running pyspark --master yarn-client in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153535#M20568</link>
    <description>&lt;P&gt;For my case, previously I had given my anaconda installation.&lt;/P&gt;&lt;P&gt;Reverting it back to /usr/bin/python2.7 fixed the problem.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 20:25:17 GMT</pubDate>
    <dc:creator>sedatkestepe</dc:creator>
    <dc:date>2018-10-19T20:25:17Z</dc:date>
    <item>
      <title>Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153529#M20562</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i got this error below&lt;/P&gt;&lt;PRE&gt;Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, 
most recent failure: Lost task 0.3 in stage 0.0 (TID 3, 
ip-internal): java.io.IOException:
 Cannot run program 
"/home/centos/apps/pyspark/venv/bin/python": error=13,
 Permission denied&lt;/PRE&gt;&lt;P&gt;while running &lt;/P&gt;&lt;PRE&gt;$ export HADOOP_USER_NAME=centos
$ export PYSPARK_PYTHON=/home/centos/apps/pyspark/venv/bin/python
$ pyspark --master yarn-client&lt;/PRE&gt;&lt;P&gt;I add user centos to hadoop as hdfs group&lt;/P&gt;&lt;P&gt;i'm using latest HDP 2.3.4 and centos 7.2&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:03:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153529#M20562</guid>
      <dc:creator>cokorda_putra</dc:creator>
      <dc:date>2016-02-23T22:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153530#M20563</link>
      <description>&lt;P&gt;What are the permissions on /home/centos/apps/pyspark/venv/bin/python?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:04:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153530#M20563</guid>
      <dc:creator>iroberts</dc:creator>
      <dc:date>2016-02-23T22:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153531#M20564</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/349/iroberts.html" nodeid="349"&gt;@Ian Roberts&lt;/A&gt; &lt;/P&gt;&lt;PRE&gt;drwxrwxrwx 4 centos centos 57 Feb 23 13:22 pyspark
&lt;/PRE&gt;&lt;P&gt;this is the permission for pyspark venv "777"&lt;/P&gt;&lt;P&gt;and i install the pyspark venv on every node manager with the same permission.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:10:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153531#M20564</guid>
      <dc:creator>cokorda_putra</dc:creator>
      <dc:date>2016-02-23T22:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153532#M20565</link>
      <description>&lt;P&gt;What are the permissions on python&lt;/P&gt;&lt;P&gt;ls -ltr /home/centos/apps/pyspark/venv/bin&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:22:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153532#M20565</guid>
      <dc:creator>iroberts</dc:creator>
      <dc:date>2016-02-23T22:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153533#M20566</link>
      <description>&lt;P&gt;here's the permission for the python &lt;A rel="user" href="https://community.cloudera.com/users/349/iroberts.html" nodeid="349"&gt;@Ian Roberts&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;-rwxrwxrwx 1 centos centos 7136 Feb 23 13:22 python
&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Feb 2016 23:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153533#M20566</guid>
      <dc:creator>cokorda_putra</dc:creator>
      <dc:date>2016-02-23T23:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153534#M20567</link>
      <description>&lt;P&gt;I can fix this issue by set the /home/centos executable "775" &lt;A rel="user" href="https://community.cloudera.com/users/349/iroberts.html" nodeid="349"&gt;@Ian Roberts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 01:58:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153534#M20567</guid>
      <dc:creator>cokorda_putra</dc:creator>
      <dc:date>2016-02-24T01:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Got permission denied when running pyspark --master yarn-client</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153535#M20568</link>
      <description>&lt;P&gt;For my case, previously I had given my anaconda installation.&lt;/P&gt;&lt;P&gt;Reverting it back to /usr/bin/python2.7 fixed the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-permission-denied-when-running-pyspark-master-yarn/m-p/153535#M20568</guid>
      <dc:creator>sedatkestepe</dc:creator>
      <dc:date>2018-10-19T20:25:17Z</dc:date>
    </item>
  </channel>
</rss>

