<?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: how to upgrade spark 1.3.1.2.3 to spark 1.41 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103904#M46294</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/420/vjain.html" nodeid="420"&gt;@Vedant Jain&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I performed the above steps and successfully removed spark 1.3.1 and installed spark 1.4.1, but in Ambari I don't see the newly Added Spark service. The old spark in not visible anymore.&lt;/P&gt;&lt;P&gt;Due to project needs I need to see the current spark service in my Ambari. Is there any way I can achieve this ?&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2016 00:26:50 GMT</pubDate>
    <dc:creator>syedzeeshanahme</dc:creator>
    <dc:date>2016-11-16T00:26:50Z</dc:date>
    <item>
      <title>how to upgrade spark 1.3.1.2.3 to spark 1.41</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103902#M46292</link>
      <description>&lt;P&gt;Versions Installed :&lt;/P&gt;&lt;P&gt;HDP-2.3.6.0-3796&lt;/P&gt;&lt;P&gt;Spark 1.3.1.2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HDFS 2.7.1.2.3&lt;/P&gt;Ambari 2.1.0&lt;P&gt;Currently we are integrating SAP HANA with Hadoop and due to versions compatibility we have to move to only Spark 1.4.1.&lt;/P&gt;&lt;P&gt;At this point of time we have  Spark 1.3.1.2.3 so we need to upgrade to Spark 1.4.1&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 21:47:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103902#M46292</guid>
      <dc:creator>syedzeeshanahme</dc:creator>
      <dc:date>2016-11-15T21:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to upgrade spark 1.3.1.2.3 to spark 1.41</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103903#M46293</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14276/syedzeeshanahmed.html" nodeid="14276"&gt;@Zeeshan Ahmed&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Stop &amp;amp; Delete Spark Ambari service:&lt;/P&gt;&lt;PRE&gt;$ curl -u admin:admin
-H "X-Requested-By:ambari" -i PUT -d '{"RequestInfo":{"context":"Stop
Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}'
&lt;A href="http://AMBARI-URL:8080//api/v1/clusters/CLUSTERNAME/services/SPARK" target="_blank"&gt;http://AMBARI-URL:8080//api/v1/clusters/CLUSTERNAME/services/SPARK&lt;/A&gt; 

$ curl -u admin:admin
-H "X-Requested-By:ambari" -X DELETE &lt;A href="http://AMBARI-URL:8080/api/v1/clusters/CLUSTERNAME/services/SPARK" target="_blank"&gt;http://AMBARI-URL:8080/api/v1/clusters/CLUSTERNAME/services/SPARK&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt; Stop Spark 1.3.1 history server: &lt;/P&gt;&lt;PRE&gt;su
- spark -c
"/usr/hdp/current/spark-client/sbin/stop-history-server.sh"&lt;/PRE&gt;&lt;P&gt; Remove Spark 1.3.1: &lt;/P&gt;&lt;PRE&gt;yum erase "spark*"&lt;/PRE&gt;&lt;P&gt; Add the node where
you want Spark 1.4.1 History Server and Client to run:&lt;/P&gt;&lt;PRE&gt;$ su - root wget -nv
$ &lt;A href="http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.2.0-2950/hdpbn.repo" target="_blank"&gt;http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.2.0-2950/hdpbn.repo&lt;/A&gt;
-O /etc/yum.repos.d/Spark141TP.repo 

$ yum install spark_2_3_2_0_2950-master -y 

$ conf-select create-conf-dir --package spark --stack-version 2.3.2.0-2950 --conf-version 0 cp
/etc/spark/2.3.0.0-2950/0/* /etc/spark/2.3.2.0-2950/0/ 

$ conf-select set-conf-dir --package spark --stack-version 2.3.2.0-2950 --conf-version 0 

$ hdp-select set spark-client 2.3.2.0-2950 

$ hdp-select set spark-historyserver 2.3.2.0-2950&lt;/PRE&gt;&lt;P&gt; Validate the Spark
installation. As user spark, run SparkPI example:&lt;/P&gt;&lt;PRE&gt; su - spark -c
"cd /usr/hdp/current/spark-client" ./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;</description>
      <pubDate>Tue, 15 Nov 2016 23:28:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103903#M46293</guid>
      <dc:creator>vjain</dc:creator>
      <dc:date>2016-11-15T23:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to upgrade spark 1.3.1.2.3 to spark 1.41</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103904#M46294</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/420/vjain.html" nodeid="420"&gt;@Vedant Jain&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I performed the above steps and successfully removed spark 1.3.1 and installed spark 1.4.1, but in Ambari I don't see the newly Added Spark service. The old spark in not visible anymore.&lt;/P&gt;&lt;P&gt;Due to project needs I need to see the current spark service in my Ambari. Is there any way I can achieve this ?&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:26:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103904#M46294</guid>
      <dc:creator>syedzeeshanahme</dc:creator>
      <dc:date>2016-11-16T00:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to upgrade spark 1.3.1.2.3 to spark 1.41</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103905#M46295</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14276/syedzeeshanahmed.html" nodeid="14276"&gt;@Zeeshan Ahmed&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This needs to be done after the step: remove version 1.3.1 &lt;/P&gt;&lt;P&gt;I personally have not tried it, but you can download the version of Spark you are looking for from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/tree/2ad42074f1633c5c6f56cf979bdaa49440457566/ambari-server/src/main/resources/common-services/SPARK"&gt;https://github.com/apache/ambari/tree/2ad42074f1633c5c6f56cf979bdaa49440457566/ambari-server/src/main/resources/common-services/SPARK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create a directory called SPARK in /var/lib/ambari-server/resources/stacks/HDP/2.3/services/&lt;/P&gt;&lt;P&gt;and copy the downloaded contents into this directory.&lt;/P&gt;&lt;P&gt;Restart ambari server and you should see this version of Spark as an option in 'Add a service' menu in Ambari. Follow the steps to install the service. &lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:44:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-upgrade-spark-1-3-1-2-3-to-spark-1-41/m-p/103905#M46295</guid>
      <dc:creator>vjain</dc:creator>
      <dc:date>2016-11-16T00:44:24Z</dc:date>
    </item>
  </channel>
</rss>

