<?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: Spark action always submit to 0.0.0.0:8032 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111442#M21954</link>
    <description>&lt;P&gt;Did anyone manage to get any further with this?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2016 22:23:31 GMT</pubDate>
    <dc:creator>breandan_parlan</dc:creator>
    <dc:date>2016-08-02T22:23:31Z</dc:date>
    <item>
      <title>Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111432#M21944</link>
      <description>&lt;P&gt;I'm trying to submit a spark action using Oozie with master=yarn-cluster and mode=cluster but the job hangs trying to submit to RM &lt;STRONG&gt;0.0.0.0:8032&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the YARN logs of the application there are the the following 2 lines:&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.yarn.client.RMProxy: Connecting to ResourceManager at hdp24node00/192.168.178.30:8050
org.apache.hadoop.yarn.client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
org.apache.hadoop.yarn.client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
...
...
org.apache.hadoop.yarn.client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032&lt;/PRE&gt;&lt;P&gt;It first try to connect to the right resource manager, but then defaults to 0.0.0.0:8032 until it fails.&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.address is set to &lt;EM&gt;hdp24node00:8050 &lt;/EM&gt;and job-tracker property is also set to &lt;EM&gt;hdp24node00:8050&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Where is the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 22:59:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111432#M21944</guid>
      <dc:creator>openbusinessintelligence</dc:creator>
      <dc:date>2016-03-04T22:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111433#M21945</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3130/openbusinessintelligence.html" nodeid="3130"&gt;@Nicola Marangoni&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2311/davidtam.html" nodeid="2311"&gt;@David Tam&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3168/breandanparland.html" nodeid="3168"&gt;@Breandán Mac Parland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Oozie Spark action is not supported in HDP 2.4 or earlier. There are workarounds on this site you may find but they're not supported by Hortonworks. This means you can get it to work but you can't open tickets in regards to them with our support. Can you set jobTracker to port 8032 instead of 8050 and try again? Look at this question as it's similar &lt;A href="https://community.hortonworks.com/questions/11599/how-to-change-resourcemanager-port-on-oozie.html#answer-21336" target="_blank"&gt;https://community.hortonworks.com/questions/11599/how-to-change-resourcemanager-port-on-oozie.html#answer-21336&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hortonworks uses the source code from Apache Oozie and internally Apache Oozie version expects port 8032 for yarn.resourcemanager.address not 8050. Look at the unit test example &lt;A href="https://github.com/apache/oozie/search?utf8=%E2%9C%93&amp;amp;q=8032" target="_blank"&gt;https://github.com/apache/oozie/search?utf8=%E2%9C%93&amp;amp;q=8032&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in our private repos, this is an identical unit test. You guys all have similar questions, I will raise an internal discussion on how to proceed with this.&lt;/P&gt;&lt;P&gt;Here's a note on Spark action in HDP &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_spark-guide/content/ch_introduction-spark.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_spark-guide/content/ch_introduction-spark.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 23:46:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111433#M21945</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-05T23:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111434#M21946</link>
      <description>&lt;P&gt;It's a bug, correct port is 8032, we filed a fix, thanks for letting us know!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 03:43:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111434#M21946</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-07T03:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111435#M21947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I also faced the same issue. But when I copied *-site.xml from /etc/hadoop/conf to hadoop spark lib directory (in job.properties), the oozie spark job ran successfully.&lt;/P&gt;&lt;P&gt;My RM is IP:8032 in Ambari and in yarn-site.xml&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 00:41:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111435#M21947</guid>
      <dc:creator>Encryption1</dc:creator>
      <dc:date>2016-03-10T00:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111436#M21948</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2086/arunssundar.html" nodeid="2086"&gt;@Arun Sundar Selvan&lt;/A&gt; thanks for confirming that. We knew it worked with port 8032, just want to be clear you understand Oozie Spark action in HDP is not supported at this time. There are workarounds but nothing we put a stamp of approval on yet.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 11:05:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111436#M21948</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-11T11:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111437#M21949</link>
      <description>&lt;P&gt;With the following symlink (see anwer of &lt;A rel="user" href="https://community.cloudera.com/users/2086/arunssundar.html" nodeid="2086"&gt;@Arun Sundar Selvan&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;ln -s /etc/hadoop/conf/yarn-site.xml /etc/hadoop/conf/secure/yarn-site.xml&lt;/PRE&gt;&lt;P&gt;the port number is no mode an issue, however I get 2 new issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/ats/active is not found, I have to creare it manually after restarting YARN:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;mkdir /ats
mkdir /ats/active
mkdir /ats/done
chmod -R 777 /ats&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Localization doesn't work: I have 3 nodes but in every node the spark-assembly library is in a different folder:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;cd /hadoop/yarn/local
find -name '*assembly*'&lt;/PRE&gt;&lt;P&gt;On node 0:&lt;/P&gt;&lt;PRE&gt;./filecache/493/.tmp_spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar.crc
./filecache/493/spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar
./filecache/466/.tmp_spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar.crc
./filecache/466/spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar
&lt;/PRE&gt;&lt;P&gt;On node 1:&lt;/P&gt;&lt;PRE&gt;./filecache/452/.tmp_spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar.crc
./filecache/452/spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar
&lt;/PRE&gt;&lt;P&gt;On node 2:&lt;/P&gt;&lt;PRE&gt;./filecache/265/.tmp_spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar.crc
./filecache/265/spark-assembly-1.6.0.2.4.0.0-169-hadoop2.7.1.2.4.0.0-169.jar
&lt;/PRE&gt;&lt;P&gt;However, as the YARN job is submitted by the RM on node 00 to another node, it search the libraries with the path on node 00 assuming the directory number under "filecache" is always the same.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nicola&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:45:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111437#M21949</guid>
      <dc:creator>openbusinessintelligence</dc:creator>
      <dc:date>2016-03-14T19:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111438#M21950</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2086/arunssundar.html"&gt;@Arun Sundar Selvan&lt;/A&gt;: with a symlink &lt;/P&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;P&gt;ln -s /etc/hadoop/conf/yarn-site.xml /etc/hadoop/conf/secure/yarn-site.xml&lt;/P&gt;&lt;P&gt;it works even with port 8050 or whatever.&lt;/P&gt;&lt;P&gt;Sadly the are 2 new issues (see comment below), but many thanks for the tip!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:03:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111438#M21950</guid>
      <dc:creator>openbusinessintelligence</dc:creator>
      <dc:date>2016-03-14T20:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111439#M21951</link>
      <description>&lt;P&gt;Can you please share the stdout log from the Job-tracker.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:17:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111439#M21951</guid>
      <dc:creator>Encryption1</dc:creator>
      <dc:date>2016-03-15T02:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111440#M21952</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3130/openbusinessintelligence.html"&gt;@Nicola Marangoni&lt;/A&gt; &lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/2086/arunssundar.html" nodeid="2086"&gt;@Arun Sundar Selvan&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Even I am facing similar issue reported by Nicola&lt;/P&gt;&lt;P&gt;"However, as the YARN job is submitted by the RM on node 00 to another node, it search the libraries with the path on node 00 assuming the directory number under "filecache" is always the same."&lt;/P&gt;&lt;P&gt;Any pointers on this please to get this resolved? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahadevan&lt;/P&gt;,&lt;P&gt;Even I am observing the similar issue as observed by Nicola. Can somebody help me in resolving this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 20:18:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111440#M21952</guid>
      <dc:creator>krishmah</dc:creator>
      <dc:date>2016-06-30T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111441#M21953</link>
      <description>&lt;P&gt;I am running HDP 2.4.2 and here is the stack trace from yarn node manager logs&lt;/P&gt;&lt;P&gt;2016-06-30 12:17:23,376 INFO  localizer.ResourceLocalizationService (ResourceLocalizationService.java:handle(711)) - Created localizer for container_e11_1467282483822_0010_02_000001&lt;/P&gt;&lt;P&gt;2016-06-30 12:17:23,378 INFO  localizer.ResourceLocalizationService (ResourceLocalizationService.java:run(866)) - Failed to download resource { { file:/hadoop/yarn/local/filecache/117/spark-assembly-1.6.1.2.4.2.0-258-hadoop2.7.1.2.4.2.0-258.jar, 1467269880000, FILE, null },pending,[(container_e11_1467282483822_0010_02_000001)],22592100725522,DOWNLOADING}&lt;/P&gt;&lt;P&gt;java.io.FileNotFoundException: File file:/hadoop/yarn/local/filecache/117/spark-assembly-1.6.1.2.4.2.0-258-hadoop2.7.1.2.4.2.0-258.jar does not exist&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:609)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:822)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:599)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:253)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:358)&lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:62)&lt;/P&gt;&lt;P&gt;        at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/P&gt;&lt;P&gt;        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;/P&gt;&lt;P&gt;        at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/P&gt;&lt;P&gt;        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;/P&gt;&lt;P&gt;        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;/P&gt;&lt;P&gt;        at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 20:41:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111441#M21953</guid>
      <dc:creator>krishmah</dc:creator>
      <dc:date>2016-06-30T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111442#M21954</link>
      <description>&lt;P&gt;Did anyone manage to get any further with this?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 22:23:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111442#M21954</guid>
      <dc:creator>breandan_parlan</dc:creator>
      <dc:date>2016-08-02T22:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spark action always submit to 0.0.0.0:8032</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111443#M21955</link>
      <description>&lt;P&gt;We've three nodes cluster of HDP 2.4 stack. We are trying to run spark jobs using oozie workflow, did all the workaround mentioned in this post as well as posted in other Hortonworks community. But still we are getting error:&lt;/P&gt;&lt;P&gt;"Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SparkMain], main() threw exception, Call From ip-172-63-10-15.eu-west-1.compute.internal/172.63.10.15 to 0.0.0.0:8032 failed on co
nnection exception: java.net.ConnectException: Connection refused; For more details see:  &lt;A href="http://wiki.apache.org/hadoop/ConnectionRefused" target="_blank"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt;
java.net.ConnectException: Call From ip-172-63-10-15.eu-west-1.compute.internal/172.63.10.15 to 0.0.0.0:8032 failed on connection exception: java.net.ConnectException: Connection refused; For more
details see:  http://wiki.apache.org/hadoop/ConnectionRefused"&lt;/P&gt;&lt;P&gt;Any suggestion, what we are missing and what settings needs to done?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:43:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-action-always-submit-to-0-0-0-0-8032/m-p/111443#M21955</guid>
      <dc:creator>vinod_k_thakur</dc:creator>
      <dc:date>2016-12-16T12:43:05Z</dc:date>
    </item>
  </channel>
</rss>

