<?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: Executing Spark-submit with yarn-cluster mode  and got OOM in driver with HiveContext in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Executing-Spark-submit-with-yarn-cluster-mode-and-got-OOM-in/m-p/166907#M129244</link>
    <description>&lt;P&gt;Thank you All. &lt;/P&gt;&lt;P&gt;Resolved the issue by changing /etc/hive/conf/hive-site.xml to /usr/hdp/current/spark-client/conf/hive-site.xml file . &lt;/P&gt;&lt;P&gt;--files /usr/hdp/current/spark-client/conf/hive-site.xml,/etc/tez/conf/tez-site.xml&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Running Command :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;spark-submit --class Test.App --verbose --master yarn-cluster --num-executors 2 --driver-memory 4g --executor-memory 4g --executor-cores 2 --driver-cores 2 --conf spark.yarn.jar=hdfs://hdfspath/oozie/spark-assembly-1.5.2.2.3.4.0-3485-hadoop2.7.1.2.3.4.0-3485.jar --files /usr/hdp/current/spark-client/conf/hive-site.xml,/etc/tez/conf/tez-site.xml --jars hdfs://hdfspath/oozie/datanucleus-api-jdo-3.2.6.jar,hdfs://hdfs//oozie/datanucleus-core-3.2.10.jar,hdfs://hdfspath/datanucleus-rdbms-3.2.9.jar,hdfs://hdfs/oozie/mysql-connector-java.jar,hdfs://hdfspath/share/lib/hive/tez-api-0.7.0.2.3.4.0-3485.jar,hdfs://hdfspath/share/lib/hive/tez-dag-0.7.0.2.3.4.0-3485.jar hdfs://hdfspath/oozie/Test.jar 2016-04-11&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 23:05:29 GMT</pubDate>
    <dc:creator>nelsonarasu</dc:creator>
    <dc:date>2016-04-14T23:05:29Z</dc:date>
  </channel>
</rss>

