<?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: Which jars are needed for ApplicationMaster? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Which-jars-are-needed-for-ApplicationMaster/m-p/219148#M181049</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sometimes this happens "spark-assembly" jar is not being deployed correctly in HDFS (or gets corrupted).&lt;BR /&gt;&lt;BR /&gt;So please try to Deploy the "spark-assembly" jar correctly in HDFS and removed users ".sparkStaging" directory &lt;/P&gt;&lt;PRE&gt;# su - hdfs
# hdfs dfs -rm /hdp/apps/x.x.x.x.x/spark/spark-hdp-assembly.jar
#  hdfs dfs -put  /usr/hdp/x.x.x.x/spark/lib/spark-assembly-1.y.y.x.x.x.x-hadoopx.x.x.x.x..jar  /hdp/apps/x.x.x.x/spark/spark-hdp-assembly.jar &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please replace the x.x.x.x with the version of hdp / component based on your setup.&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And also please delete the&lt;STRONG&gt; ".sparkStaging"&lt;/STRONG&gt; HDFS directory of the user who is running the Job.&lt;/P&gt;&lt;PRE&gt;# su - testuser
# hdfs dfs -rm -r -f .sparkStaging&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 18:16:22 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-12-06T18:16:22Z</dc:date>
  </channel>
</rss>

