<?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 Spark-shell throwing an error while connecting yarn master mode in HDP 3.0? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-shell-throwing-an-error-while-connecting-yarn-master/m-p/194787#M83831</link>
    <description>&lt;P&gt;Exception in thread "main" java.lang.Exception: When running with master 'yarn' either HADOOP_CONF_DIR or YARN_CONF_DIR must be set in the environment.
        at org.apache.spark.deploy.SparkSubmitArguments.validateSubmitArguments(SparkSubmitArguments.scala:288)
        at org.apache.spark.deploy.SparkSubmitArguments.validateArguments(SparkSubmitArguments.scala:248)
        at org.apache.spark.deploy.SparkSubmitArguments.&amp;lt;init&amp;gt;(SparkSubmitArguments.scala:120)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:130)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
[spark@ip-10-0-10-76 ~]$&lt;/P&gt;</description>
    <pubDate>Wed, 26 Sep 2018 12:56:51 GMT</pubDate>
    <dc:creator>subhash_parise3</dc:creator>
    <dc:date>2018-09-26T12:56:51Z</dc:date>
    <item>
      <title>Spark-shell throwing an error while connecting yarn master mode in HDP 3.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-shell-throwing-an-error-while-connecting-yarn-master/m-p/194787#M83831</link>
      <description>&lt;P&gt;Exception in thread "main" java.lang.Exception: When running with master 'yarn' either HADOOP_CONF_DIR or YARN_CONF_DIR must be set in the environment.
        at org.apache.spark.deploy.SparkSubmitArguments.validateSubmitArguments(SparkSubmitArguments.scala:288)
        at org.apache.spark.deploy.SparkSubmitArguments.validateArguments(SparkSubmitArguments.scala:248)
        at org.apache.spark.deploy.SparkSubmitArguments.&amp;lt;init&amp;gt;(SparkSubmitArguments.scala:120)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:130)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
[spark@ip-10-0-10-76 ~]$&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:56:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-shell-throwing-an-error-while-connecting-yarn-master/m-p/194787#M83831</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2018-09-26T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spark-shell throwing an error while connecting yarn master mode in HDP 3.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-shell-throwing-an-error-while-connecting-yarn-master/m-p/194788#M83832</link>
      <description>&lt;P&gt;The above error wiped out once we have added HADOOP_CONF_DIR and YARN_CONF_DIR in .bashrc file in users home directory&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 14:04:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-shell-throwing-an-error-while-connecting-yarn-master/m-p/194788#M83832</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2018-09-26T14:04:38Z</dc:date>
    </item>
  </channel>
</rss>

