<?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: couldn't able to execute spark jar in cluster mode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134088#M51856</link>
    <description>&lt;P&gt;Looks like your job was submitted to Yarn. Can you log information from spark history UI or from Yarn&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pranay Vyas&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 00:47:25 GMT</pubDate>
    <dc:creator>PranayV</dc:creator>
    <dc:date>2017-01-19T00:47:25Z</dc:date>
    <item>
      <title>couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134087#M51855</link>
      <description>&lt;P&gt;I am working on Spark with scala , I have created a jar and tried to execute in the cluster mode as below 
spark-submit --class com.test.sales.LoadSalesData \ 
    --master yarn \     --deploy-mode cluster \ 
    --driver-memory 4g \ &lt;/P&gt;&lt;P&gt;    --executor-memory 2g \&lt;/P&gt;&lt;P&gt;     --executor-cores 1 \ &lt;/P&gt;&lt;P&gt;    test_salesdata_2.10-1.0.jar &lt;/P&gt;&lt;P&gt;but I am getting below error ,&lt;/P&gt;&lt;P&gt;17/01/18 05:15:16 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:17 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:18 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:19 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:20 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:21 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:22 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED) 17/01/18 05:15:23 INFO Client: Application report for application_1483728394968_0141 (state: ACCEPTED)&lt;/P&gt;&lt;P&gt;         client token: N/A
         diagnostics: Application application_1483728394968_0141 failed 2 times due to AM Container for appattempt_1483728394968_0141_000002 exited with  exitCode: 1
3&lt;/P&gt;&lt;P&gt;i could able to execute the same code in spark-shell with out any issues.. could you please let me know ,if I am missing anything to run the spark job in cluster mode.
thank you !&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 20:08:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134087#M51855</guid>
      <dc:creator>iamsparkman</dc:creator>
      <dc:date>2017-01-18T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134088#M51856</link>
      <description>&lt;P&gt;Looks like your job was submitted to Yarn. Can you log information from spark history UI or from Yarn&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pranay Vyas&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 00:47:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134088#M51856</guid>
      <dc:creator>PranayV</dc:creator>
      <dc:date>2017-01-19T00:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134089#M51857</link>
      <description>&lt;P&gt;Please check from the Yarn RM UI why the application master failed? The AM logs would give you indication depending on exceptions as to what caused the failures . Once that is identified, you can proceed to fix it.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 05:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134089#M51857</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2017-01-21T05:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134090#M51858</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15498/iamsparkman.html" nodeid="15498"&gt;@Satya&lt;/A&gt;&lt;P&gt;yarn application log could give the actual error. &lt;/P&gt;&lt;P&gt;Can you also check if you have set master inside the code?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 04:36:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134090#M51858</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2017-01-25T04:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134091#M51859</link>
      <description>&lt;P&gt;Thank you.. It has been resolved now... i forgot to remove .setMaster("local") in the spark jar.. after removing that job went fine.. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 20:46:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134091#M51859</guid>
      <dc:creator>iamsparkman</dc:creator>
      <dc:date>2017-01-26T20:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: couldn't able to execute spark jar in cluster mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134092#M51860</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14571/satya2yuva.html" nodeid="14571"&gt;P&lt;/A&gt;lease accept the answer by Sandeep so that this question can be marked as addressed.&lt;A rel="user" href="https://community.cloudera.com/users/1703/satya-raju.html" nodeid="1703"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 23:34:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/couldn-t-able-to-execute-spark-jar-in-cluster-mode/m-p/134092#M51860</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2017-01-26T23:34:14Z</dc:date>
    </item>
  </channel>
</rss>

