<?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 history server startup error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101329#M14035</link>
    <description>&lt;P&gt;sorry, just catching up on this.  ATS integration should be there, so I'm trying to work out why things don't work.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 09:26:27 GMT</pubDate>
    <dc:creator>stevel</dc:creator>
    <dc:date>2016-01-15T09:26:27Z</dc:date>
    <item>
      <title>Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101325#M14031</link>
      <description>&lt;P&gt;HDP-2.3.8.0-74&lt;/P&gt;&lt;P&gt;Spark 1.5.2.2.3&lt;/P&gt;&lt;P&gt;The start of "Spark history server" is successful in Ambari but very quickly it stops/fails. In the logs I see the following &lt;/P&gt;&lt;PRE&gt;16/01/01 16:42:36 INFO HistoryServer: History provider class: org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider&lt;/PRE&gt;&lt;PRE&gt;Exception in thread "main" java.lang.ClassNotFoundException: org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider&lt;/PRE&gt;&lt;PRE&gt;        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/PRE&gt;&lt;PRE&gt;        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/PRE&gt;&lt;PRE&gt;        at java.security.AccessController.doPrivileged(Native Method)&lt;/PRE&gt;&lt;PRE&gt;        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)&lt;/PRE&gt;&lt;PRE&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)&lt;/PRE&gt;&lt;PRE&gt;        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)&lt;/PRE&gt;&lt;PRE&gt;        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)&lt;/PRE&gt;&lt;PRE&gt;        at java.lang.Class.forName0(Native Method)&lt;/PRE&gt;&lt;PRE&gt;        at java.lang.Class.forName(Class.java:191)&lt;/PRE&gt;&lt;PRE&gt;        at org.apache.spark.deploy.history.HistoryServer$.main(HistoryServer.scala:224)&lt;/PRE&gt;&lt;PRE&gt;        at org.apache.spark.deploy.history.HistoryServer.main(HistoryServer.scala)&lt;/PRE&gt;&lt;PRE&gt;16/01/01 16:42:36 INFO Utils: Shutdown hook called&lt;/PRE&gt;&lt;P&gt;The spark-defaults.conf is as follows&lt;/P&gt;&lt;PRE&gt;# Generated by Apache Ambari. Fri Jan  1 16:42:31 2016

spark.history.kerberos.keytab none
spark.history.kerberos.principal none
spark.history.provider org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider
spark.history.ui.port 18080
spark.yarn.containerLauncherMaxThreads 25
spark.yarn.driver.memoryOverhead 384
spark.yarn.executor.memoryOverhead 384
spark.yarn.historyServer.address host10.demo.com:18080  
spark.yarn.max.executor.failures 3
spark.yarn.preserve.staging.files false
spark.yarn.queue default
spark.yarn.scheduler.heartbeat.interval-ms 5000
spark.yarn.services org.apache.spark.deploy.yarn.history.YarnHistoryServicespark.yarn.submit.file.replication 3&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jan 2016 07:05:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101325#M14031</guid>
      <dc:creator>krishnanand_tho</dc:creator>
      <dc:date>2016-01-05T07:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101326#M14032</link>
      <description>&lt;P&gt;Hmm, that's my code at fault there.&lt;/P&gt;&lt;P&gt;What it's saying is that the history server can't find the class org.apache.spark.deploy.history.yarn.server.YarnHistoryProvider, which is what it is configured to use for histories. &lt;/P&gt;&lt;P&gt;The workaround is to switch to the classic filesystem history provider, which you can do&lt;/P&gt;&lt;PRE&gt;spark.history.provider org.apache.spark.deploy.history.FsHistoryProvider&lt;/PRE&gt;&lt;P&gt;Deleting the line entirely should force the history server to revert to this.&lt;/P&gt;&lt;P&gt;I'd also look at deleting the line&lt;/P&gt;&lt;PRE&gt;spark.yarn.services org.apache.spark.deploy.yarn.history.YarnHistoryService&lt;/PRE&gt;&lt;P&gt;If the timeline server integration is not on the classpath, the publisher is unlikely to be there too.&lt;/P&gt;&lt;P&gt;If that doesn't solve it, comment on this issue and I'll see what else we can do.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 23:26:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101326#M14032</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2016-01-05T23:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101327#M14033</link>
      <description>&lt;P&gt;I'll try the FsHistoryProvider but that would mean the Spark history server is not integrated with Yarn ATS.&lt;/P&gt;&lt;P&gt;Are you saying that the ATS integration is not yet supported in the HDP stack version mentioned above or do you think this issue is specific to my setup ? &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 00:54:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101327#M14033</guid>
      <dc:creator>krishnanand_tho</dc:creator>
      <dc:date>2016-01-06T00:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101328#M14034</link>
      <description>&lt;P&gt;The same spark version 1.5.2.2.3 works fine with YarnHistoryProvider, at least the Spark history server started fine with HDP 2.3.6.0-3488 (note lower than the one in starting post of this thread)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 02:08:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101328#M14034</guid>
      <dc:creator>krishnanand_tho</dc:creator>
      <dc:date>2016-01-07T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101329#M14035</link>
      <description>&lt;P&gt;sorry, just catching up on this.  ATS integration should be there, so I'm trying to work out why things don't work.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 09:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101329#M14035</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2016-01-15T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Spark history server startup error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101330#M14036</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1869/krishnanandthommandra.html" nodeid="1869"&gt;@KRISHNANAND THOMMAND&lt;/A&gt;&lt;P&gt;Can you email me, thats stevel at hortonworks.com , the exact spark-assembly JAR you've got with this problem. I want to make sure that I really am looking at the one you are seeing this problem. Once I've got it I'll have a look inside the JAR to see what's up.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 05:48:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-history-server-startup-error/m-p/101330#M14036</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2016-01-20T05:48:45Z</dc:date>
    </item>
  </channel>
</rss>

