<?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 strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167082#M129414</link>
    <description>&lt;P&gt;Im executing a query on spark and it is working Im getting the result. I did not configure any cluster so spark should be using its own cluster manager.&lt;/P&gt;&lt;P&gt;But in the spark page: master:8080 I get this:&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;P&gt;Alive Workers: 2
Cores in use: 4 Total, 0 Used
Memory in use: 6.0 GB Total, 0.0 B Used
Applications: 0 Running, 0 Completed
Drivers: 0 Running, 0 Completed
Status: ALIVE&lt;/P&gt;&lt;P&gt;But when Im executing the query I get the same result while Im refresinh the page:&lt;/P&gt;&lt;PRE&gt;Alive Workers: 2
Cores in use: 4 Total, 0 Used
Memory in use: 6.0 GB Total, 0.0 B Used
Applications: 0 Running, 0 Completed
Drivers: 0 Running, 0 Completed
Status: ALIVE
&lt;/PRE&gt;&lt;P&gt;And after the execution of the query this is the same again...Do you know why? Its very strange, it seems that spark is executing the query without using any hardware which is not possible, so why this info is not updating do you know?&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2016 16:54:42 GMT</pubDate>
    <dc:creator>joncodin</dc:creator>
    <dc:date>2016-05-25T16:54:42Z</dc:date>
    <item>
      <title>Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167082#M129414</link>
      <description>&lt;P&gt;Im executing a query on spark and it is working Im getting the result. I did not configure any cluster so spark should be using its own cluster manager.&lt;/P&gt;&lt;P&gt;But in the spark page: master:8080 I get this:&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;P&gt;Alive Workers: 2
Cores in use: 4 Total, 0 Used
Memory in use: 6.0 GB Total, 0.0 B Used
Applications: 0 Running, 0 Completed
Drivers: 0 Running, 0 Completed
Status: ALIVE&lt;/P&gt;&lt;P&gt;But when Im executing the query I get the same result while Im refresinh the page:&lt;/P&gt;&lt;PRE&gt;Alive Workers: 2
Cores in use: 4 Total, 0 Used
Memory in use: 6.0 GB Total, 0.0 B Used
Applications: 0 Running, 0 Completed
Drivers: 0 Running, 0 Completed
Status: ALIVE
&lt;/PRE&gt;&lt;P&gt;And after the execution of the query this is the same again...Do you know why? Its very strange, it seems that spark is executing the query without using any hardware which is not possible, so why this info is not updating do you know?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 16:54:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167082#M129414</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167083#M129415</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3572/joncodin.html" nodeid="3572"&gt;@John Cod&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How you are submit job? if you are not specifying --master "spark://masterip:7077"  while running spark shell then it will run in local mode.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 17:06:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167083#M129415</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-25T17:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167084#M129416</link>
      <description>&lt;P&gt;Hi, Im executing the job on shell. To start shell I use the command "spark-shell". So I need to use spark-shell --master?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 17:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167084#M129416</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167085#M129417</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3572/joncodin.html" nodeid="3572"&gt;@John Cod&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, you need to specify the spark master URI.&lt;/P&gt;&lt;PRE&gt;spark-shell --master spark://masterhost:7077
&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 May 2016 17:48:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167085#M129417</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-25T17:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167086#M129418</link>
      <description>&lt;P&gt;Thanks, but now Im getting this error when I try to execute a query: "16/05/25 12:15:15 ERROR LiveListenerBus: SparkListenerBus has already stopped! Dropping event SparkListenerStageCompleted(org.apache.spark.scheduler.StageInfo@5547fcb1)". And this Warn: 16/05/25 12:15:05 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resourcesDo you know why?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 18:14:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167086#M129418</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T18:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167087#M129419</link>
      <description>&lt;P&gt;This warn appears when the query starts to execute in stage 0 and then appears the error.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 18:18:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167087#M129419</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T18:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167088#M129420</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3572/joncodin.html" nodeid="3572"&gt;@John Cod&lt;/A&gt;&lt;P&gt;Can you please share the screenshot of &lt;A href="http://master:8080" target="_blank"&gt;http://master:8080&lt;/A&gt; UI and  command you ran along with full spark-shell logs?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 18:19:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167088#M129420</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-25T18:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167089#M129421</link>
      <description>&lt;P&gt;I decrease the memory in spark-env.sh and now it seems that its working, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 18:22:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167089#M129421</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T18:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167090#M129422</link>
      <description>&lt;P&gt;I just see your comment now, but I think its working fine now, it seems that I was setting more memory than the memory available.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 18:23:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167090#M129422</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-25T18:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167091#M129423</link>
      <description>&lt;P&gt;Actually, if you don't specify local mode (--master "local") then you will be running in Standalone mode described here:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Standalone mode:&lt;/STRONG&gt; By default, applications submitted to the standalone mode cluster will run in FIFO (first-in-first-out) order, and each application will try to use all available nodes. You can limit the number of nodes an application uses by setting the &lt;CODE&gt;spark.cores.max&lt;/CODE&gt;configuration property in it, or change the default for applications that don’t set this setting through &lt;CODE&gt;spark.deploy.defaultCores&lt;/CODE&gt;. Finally, in addition to controlling cores, each application’s &lt;CODE&gt;spark.executor.memory&lt;/CODE&gt; setting controls its memory use.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, I think you have the port wrong for the Monitor web interface, try using port 4040 instead of 8080, like this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;driver-node&amp;gt;:4040" target="_blank"&gt;http://&amp;lt;driver-node&amp;gt;:4040&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 20:45:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167091#M129423</guid>
      <dc:creator>phargis</dc:creator>
      <dc:date>2016-05-25T20:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167092#M129424</link>
      <description>&lt;P&gt;was there anything on the spark history server or in logs.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 20:46:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167092#M129424</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-25T20:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167093#M129425</link>
      <description>&lt;P&gt;Spark supports the following cluster modes:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Pseudo Cluster mode (everything runs on one node) - For debugging/developing Spark&lt;/LI&gt;&lt;LI&gt;Standalone: Spark provides cluster manager facilities&lt;/LI&gt;&lt;LI&gt;Spark on YARN : YARN provides Cluster manager facilities.
&lt;OL&gt;
&lt;LI&gt;yarn-client mode: Spark Driver runs outside YARN&lt;/LI&gt;&lt;LI&gt;yarn-cluster mode: Drivers also runs in YARN&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Spark on Mesos : Mesos provides Cluster manager facilities&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We don't supprot Spark on Mesos. &lt;/P&gt;&lt;P&gt;For Spark on YARN specify mode by adding --master yarn-client or --master yarn-cluster on your Spark-submit command on a per job basis. Or configure it in spark-defaults.conf for all jobs submitted from that node.&lt;/P&gt;&lt;P&gt;--master "spark://masterip:7077" indicates Spark standalone mode.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 05:24:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167093#M129425</guid>
      <dc:creator>vshukla</dc:creator>
      <dc:date>2016-05-26T05:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spark strange behavior: Im executing a query and its working, but the info in the spark page master:8080 dont update</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167094#M129426</link>
      <description>&lt;P&gt;Hi, thanks for your answer. But Im not understanding. I think the answer that I accpted fixed the issue. Because starting the spark-shell with spark-shell --master spark://masterhost:7077 in the 8080 port I get:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Cores in use:&lt;/STRONG&gt; 4 Total, 4 Used&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Memory in use:&lt;/STRONG&gt; 4.0 GB Total, 2.0 GB Used&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Applications:&lt;/STRONG&gt; 1 Running, 0 Completed&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Drivers:&lt;/STRONG&gt; 0 Running, 0 Completed&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Status:&lt;/STRONG&gt; ALIVE&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So it seems that it is already working starting spark-shell with thay way, right? But you are suggesting that should be spark-shell --master "local" spark:///mastehost:7077?&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 08:11:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-strange-behavior-Im-executing-a-query-and-its-working/m-p/167094#M129426</guid>
      <dc:creator>joncodin</dc:creator>
      <dc:date>2016-05-26T08:11:00Z</dc:date>
    </item>
  </channel>
</rss>

