<?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 1.5.1 Tech Preview in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96930#M10408</link>
    <description>&lt;P&gt;Thanks that worked! Yes we should def update the TP instructions because multiple folks on forum had this issue too:&lt;/P&gt;&lt;P&gt;In case anyone else runs into the same, here is a script to automate it&lt;/P&gt;&lt;PRE&gt;sed -i /spark.history.provider/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.history.ui.port/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.yarn.historyServer.address/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.yarn.services/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Nov 2015 06:28:37 GMT</pubDate>
    <dc:creator>abajwa</dc:creator>
    <dc:date>2015-11-24T06:28:37Z</dc:date>
    <item>
      <title>Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96925#M10403</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;Congratulations. We just published Spark 1.5.1 TP (&lt;A href="http://hortonworks.com/hadoop-tutorial/apache-spark-1-5-1-technical-preview-with-hdp-2-3/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/apache-spark-1-5-1-technical-preview-with-hdp-2-3/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Next stop on this journey is Spark 1.5.1 GA with HDP.&lt;/P&gt;&lt;P&gt;Please take it out for a spin. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96925#M10403</guid>
      <dc:creator>vshukla</dc:creator>
      <dc:date>2026-04-21T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96926#M10404</link>
      <description>&lt;P&gt;Installed Spark 1.5.1 on Ambari installed 2.3.2.0-2950 cluster using below and then ran SparkPi job:&lt;/P&gt;&lt;PRE&gt;$ wget -nv  &lt;A href="http://private-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.1-12/hdp.repo" target="_blank"&gt;http://private-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.1-12/hdp.repo&lt;/A&gt;  -O /etc/yum.repos.d/HDP-TP.repo
$ yum install spark_2_3_2_1_12-master -y
&lt;/PRE&gt;&lt;PRE&gt;$ su spark
$ echo $JAVA_HOME
/usr/java/default
$ cd /usr/hdp/2.3.2.1-12/spark
$ ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --num-executors 3 --driver-memory 512m --executor-memory 512m --executor-cores 1 lib/spark-examples*.jar 10
&lt;/PRE&gt;&lt;P&gt;But am running into the same "ClassNotFoundException: org.apache.spark.deploy.yarn.history.YarnHistoryService"  issue that &lt;A href="http://hortonworks.com/community/forums/topic/classnotfoundexception-org-apache-spark-deploy-yarn-history-yarnhistoryservice/"&gt;others ran into&lt;/A&gt;. Have others been able to make this work successfully?&lt;/P&gt;&lt;PRE&gt;15/11/23 00:10:59 ERROR Utils: Uncaught exception in thread main
java.lang.NullPointerException
	at org.apache.spark.network.netty.NettyBlockTransferService.close(NettyBlockTransferService.scala:152)
	at org.apache.spark.storage.BlockManager.stop(BlockManager.scala:1228)
	at org.apache.spark.SparkEnv.stop(SparkEnv.scala:100)
	at org.apache.spark.SparkContext$$anonfun$stop$12.apply$mcV$sp(SparkContext.scala:1749)
	at org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1185)
	at org.apache.spark.SparkContext.stop(SparkContext.scala:1748)
	at org.apache.spark.SparkContext.&amp;lt;init&amp;gt;(SparkContext.scala:593)
	at org.apache.spark.examples.SparkPi$.main(SparkPi.scala:29)
	at org.apache.spark.examples.SparkPi.main(SparkPi.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
15/11/23 00:10:59 INFO SparkContext: Successfully stopped SparkContext
Exception in thread "main" java.lang.ClassNotFoundException: org.apache.spark.deploy.yarn.history.YarnHistoryService
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:278)
	at org.apache.spark.util.Utils$.classForName(Utils.scala:173)
	at org.apache.spark.scheduler.cluster.YarnExtensionServices$$anonfun$start$5$$anonfun$apply$3.apply(YarnExtensionService.scala:106)
	at org.apache.spark.scheduler.cluster.YarnExtensionServices$$anonfun$start$5$$anonfun$apply$3.apply(YarnExtensionService.scala:105)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
	at org.apache.spark.scheduler.cluster.YarnExtensionServices$$anonfun$start$5.apply(YarnExtensionService.scala:105)
	at org.apache.spark.scheduler.cluster.YarnExtensionServices$$anonfun$start$5.apply(YarnExtensionService.scala:103)
	at scala.Option.map(Option.scala:145)
	at org.apache.spark.scheduler.cluster.YarnExtensionServices.start(YarnExtensionService.scala:103)
	at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:64)
	at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144)
	at org.apache.spark.SparkContext.&amp;lt;init&amp;gt;(SparkContext.scala:523)
	at org.apache.spark.examples.SparkPi$.main(SparkPi.scala:29)
	at org.apache.spark.examples.SparkPi.main(SparkPi.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
15/11/23 00:10:59 INFO DiskBlockManager: Shutdown hook called
&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:16:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96926#M10404</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-11-23T16:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96927#M10405</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@Ali Bajwa&lt;/A&gt; same here with sandbox 2.3.2, when I try to run Spark SQL Thrift server. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/332/vshukla.html" nodeid="332"&gt;@vshukla&lt;/A&gt; can you help? I think we also need to update our blog with instructions to solve this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 18:19:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96927#M10405</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-11-23T18:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96928#M10406</link>
      <description>&lt;P&gt;There may have been an earlier instance of Spark where 1.5.1 TP was installed.&lt;/P&gt;&lt;P&gt;Check spark-default.conf it should NOT have any YARN ATS service related properties (enabled), since we don't have the ATS integration code ported to this TP.&lt;/P&gt;&lt;P&gt;Here is an example spark-default.conf that works.&lt;/P&gt;&lt;P&gt;# Default system properties included when running spark-submit.&lt;/P&gt;&lt;P&gt;# This is useful for setting default environmental settings.&lt;/P&gt;&lt;P&gt;# Example:&lt;/P&gt;&lt;P&gt;# spark.master                     spark://master:7077&lt;/P&gt;&lt;P&gt;# spark.eventLog.enabled           true&lt;/P&gt;&lt;P&gt;# spark.eventLog.dir               hdfs://namenode:8021/directory&lt;/P&gt;&lt;P&gt;# spark.serializer                 org.apache.spark.serializer.KryoSerializer&lt;/P&gt;&lt;P&gt;# spark.driver.memory              5g&lt;/P&gt;&lt;P&gt;# spark.executor.extraJavaOptions  -XX:+PrintGCDetails -Dkey=value -Dnumbers="one two three"&lt;/P&gt;&lt;P&gt;#spark.yarn.services                org.apache.spark.deploy.yarn.history.YarnHistoryService&lt;/P&gt;&lt;P&gt;#spark.history.provider             org.apache.spark.deploy.yarn.history.YarnHistoryProvider&lt;/P&gt;&lt;P&gt;## Make sure the host and port match the node where your YARN history server is running&lt;/P&gt;&lt;P&gt;#spark.yarn.historyServer.address   localhost:18080&lt;/P&gt;&lt;P&gt;spark.driver.extraJavaOptions -Dhdp.version=2.3.2.1-12&lt;/P&gt;&lt;P&gt;spark.yarn.am.extraJavaOptions -Dhdp.version=2.3.2.1-12&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 01:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96928#M10406</guid>
      <dc:creator>vshukla</dc:creator>
      <dc:date>2015-11-24T01:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96929#M10407</link>
      <description>&lt;P&gt;Thank you &lt;A href="https://community.hortonworks.com/questions/3197/spark-151-tech-preview.html#"&gt;@vshukla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Removing following properties from &lt;STRONG&gt;/etc/spark/conf/spark-defaults.conf &lt;/STRONG&gt;solved the issue:&lt;/P&gt;&lt;PRE&gt;#spark.history.provider org.apache.spark.deploy.yarn.history.YarnHistoryProvider
#spark.history.ui.port 18080
#spark.yarn.historyServer.address sandbox.hortonworks.com:18080
#spark.yarn.services org.apache.spark.deploy.yarn.history.YarnHistoryService&lt;/PRE&gt;&lt;P&gt;PS: I installed spark in sandbox 2.3.2 and followed your instructions (&lt;A href="http://hortonworks.com/hadoop-tutorial/apache-spark-1-5-1-technical-preview-with-hdp-2-3/"&gt;http://hortonworks.com/hadoop-tutorial/apache-spark-1-5-1-technical-preview-with-hdp-2-3/&lt;/A&gt;). It would be nice if you could update spark 1.5.1 tutorial as others users are having same issue &lt;A href="https://community.hortonworks.com/questions/3197/spark-151-tech-preview.html#"&gt;@Ali Bajwa&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 01:24:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96929#M10407</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-11-24T01:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96930#M10408</link>
      <description>&lt;P&gt;Thanks that worked! Yes we should def update the TP instructions because multiple folks on forum had this issue too:&lt;/P&gt;&lt;P&gt;In case anyone else runs into the same, here is a script to automate it&lt;/P&gt;&lt;PRE&gt;sed -i /spark.history.provider/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.history.ui.port/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.yarn.historyServer.address/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
sed -i /spark.yarn.services/s/^/#/ /usr/hdp/2.3.2.1-12/spark/conf/spark-defaults.conf
&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Nov 2015 06:28:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96930#M10408</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-11-24T06:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96931#M10409</link>
      <description>&lt;P&gt;Vinay -we do have the ATS integration in this TP, we just omitted something to bridge from the binding classes used in Ambari since the 1.2/1.3 previews to their current names. That's now been fixed, and there is the workaround listed above to address it directly.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 07:29:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96931#M10409</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2015-11-25T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96932#M10410</link>
      <description>&lt;P&gt;Can you please elaborate on the this workaround? I would be nice to have ATS integration for Spark 1.5.1.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 10:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96932#M10410</guid>
      <dc:creator>aism2788</dc:creator>
      <dc:date>2015-12-31T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 1.5.1 Tech Preview</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96933#M10411</link>
      <description>&lt;P&gt;You can install the latest HDP 2.3.4 using Ambari 2.2.0.0: it comes with Spark 1.5.2 and its integrated with ATS&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 11:03:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-1-5-1-Tech-Preview/m-p/96933#M10411</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-31T11:03:15Z</dc:date>
    </item>
  </channel>
</rss>

