<?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: Remote spark-submit HDFS error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103843#M37933</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/12518/antonioye.html" nodeid="12518"&gt;@Antonio Ye&lt;/A&gt;&lt;P&gt;Can you please share your spark-submit command. You do have SPARK_HOME set from you are launching the job, right?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2016 11:07:05 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2016-08-16T11:07:05Z</dc:date>
    <item>
      <title>Remote spark-submit HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103842#M37932</link>
      <description>&lt;P&gt;I am trying to launch a spark job from a remote host to the HDP sandbox running on my Mac but keep getting the following error:&lt;/P&gt;&lt;PRE&gt;spark-assembly-1.6.2-hadoop2.6.0.jar could only be replicated to 0 nodes instead of minReplication (=1).  There are 1 datanode(s) running and 1 node(s) are excluded in this operation.&lt;/PRE&gt;&lt;P&gt;I did this by copying the /etc/hadoop/conf directory to the host where I am launching my job via spark-submit and setting the HADOOP_CONF_DIR environment variable to that directory. Has anyone encountered this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 10:39:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103842#M37932</guid>
      <dc:creator>antonioye</dc:creator>
      <dc:date>2016-08-16T10:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remote spark-submit HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103843#M37933</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12518/antonioye.html" nodeid="12518"&gt;@Antonio Ye&lt;/A&gt;&lt;P&gt;Can you please share your spark-submit command. You do have SPARK_HOME set from you are launching the job, right?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:07:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103843#M37933</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-16T11:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remote spark-submit HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103844#M37934</link>
      <description>&lt;P&gt;I have tried a couple:&lt;/P&gt;&lt;PRE&gt;&amp;gt; spark-submit --class com.myorg.streaming.MyClass --master yarn-cluster target/scala-2.10/SparkStreamingPOC-assembly-1.0.jar&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;&amp;gt; spark-shell --master yarn&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:29:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103844#M37934</guid>
      <dc:creator>antonioye</dc:creator>
      <dc:date>2016-08-16T11:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remote spark-submit HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103845#M37935</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/12518/antonioye.html" nodeid="12518"&gt;@Antonio Ye&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	Can you check if you have enough storage in your sandbox ? &lt;/P&gt;&lt;PRE&gt;hdfs dfsadmin -report &lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:59:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103845#M37935</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2016-08-16T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remote spark-submit HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103846#M37936</link>
      <description>&lt;P&gt;
	Turns out I needed to add to 50010 to the port forward list of the VM and add the following to my hdfs-site.xml:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
	&amp;lt;name&amp;gt;dfs.client.use.datanode.hostname&amp;lt;/name&amp;gt;
	&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Aug 2016 04:05:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Remote-spark-submit-HDFS-error/m-p/103846#M37936</guid>
      <dc:creator>antonioye</dc:creator>
      <dc:date>2016-08-18T04:05:11Z</dc:date>
    </item>
  </channel>
</rss>

