<?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: spark history server  - Permission denied in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/279982#M70545</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you checked what process is running on this port and tried killing the process if required?&amp;nbsp; if the issue got solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AKR&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 11:45:32 GMT</pubDate>
    <dc:creator>AKR</dc:creator>
    <dc:date>2019-10-11T11:45:32Z</dc:date>
    <item>
      <title>spark history server  - Permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179612#M70541</link>
      <description>&lt;P&gt;we start the spark history as the following
/usr/hdp/2.6.0.3-8/spark2/sbin/start-history-server.sh &lt;/P&gt;&lt;P&gt;from the log
 spark-root-org.apache.spark.deploy.history.HistoryServer-1-master01 &lt;/P&gt;&lt;P&gt;we get many lines like that
Caused by: &lt;/P&gt;&lt;P&gt;org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=root, access=READ, inode="/spark2-history/application_1497173286109_0003_2.inprogress":hdfs:hadoop:-rwxrwx---&lt;/P&gt;&lt;P&gt;
we try &lt;/P&gt;&lt;P&gt;
hdfs dfs -chown spark /spark2-history &lt;/P&gt;&lt;P&gt;but not help
not sure if we need to see the folder ? &lt;/P&gt;&lt;P&gt;# ls /spark2-history/
ls: cannot access /spark2-history/:&lt;/P&gt;&lt;P&gt; No such file or directory&lt;/P&gt;&lt;P&gt;
please advice what is solution in order to strat the spark history&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:18:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179612#M70541</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-11-01T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: spark history server  - Permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179613#M70542</link>
      <description>&lt;P&gt;What user are you starting spark-history-server.sh as?&lt;/P&gt;&lt;P&gt;Do a su spark, before launching shell script. I think you're starting as root user, so it's saying root user doesn't have access to that folder.&lt;/P&gt;&lt;P&gt;Since you've given spark ownership, it should be able to access.&lt;/P&gt;&lt;P&gt;If you must start as root, then give root access to that directory.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:29:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179613#M70542</guid>
      <dc:creator>tsharma</dc:creator>
      <dc:date>2017-11-01T11:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: spark history server  - Permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179614#M70543</link>
      <description>&lt;P&gt;ok I run it , and now we get - WARN AbstractLifeCycle: FAILED ServerConnector@14a54ef6{HTTP/1.1}{0.0.0.0:18081}: java.net.BindException: Address already in use
java.net.BindException: Address already in use&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 11:39:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179614#M70543</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-11-01T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: spark history server  - Permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179615#M70544</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check which process is using that port which is causing the conflict (If needed the   kill that process and then try again)&lt;/P&gt;&lt;PRE&gt;# netstat -tnlpa | grep 18081
# kill -9 $PID_OF_ABOVE_PROCESS&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:07:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/179615#M70544</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-01T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: spark history server  - Permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/279982#M70545</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you checked what process is running on this port and tried killing the process if required?&amp;nbsp; if the issue got solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AKR&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 11:45:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-history-server-Permission-denied/m-p/279982#M70545</guid>
      <dc:creator>AKR</dc:creator>
      <dc:date>2019-10-11T11:45:32Z</dc:date>
    </item>
  </channel>
</rss>

