<?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 Scala version from 2.10.5 to 2.11 on CDH 5.9.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-Scala-version-from-2-10-5-to-2-11-on-CDH-5-9/m-p/63082#M22468</link>
    <description>&lt;P&gt;Spark2.x comes bundled with its own scala (version 2.11).&amp;nbsp;&lt;SPAN&gt;You do NOT need to install scala 2.11 separately or upgrade your existing scala 2.10 version. The Spark 2 installation will take care of the scala version for you. Once you install Spark2 (just ensure to review the &lt;A href="https://www.cloudera.com/documentation/spark2/latest/topics/spark2_requirements.html#requirements" target="_blank"&gt;pre-requisites&lt;/A&gt; and &lt;A href="https://www.cloudera.com/documentation/spark2/latest/topics/spark2_known_issues.html" target="_blank"&gt;known issues&lt;/A&gt;.)&amp;nbsp;&lt;/SPAN&gt;you can find Scala 2.11 libraries under /opt/cloudera/parcels/SPARK2/lib/spark2/jars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ls -l /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala*
-rw-r--r-- 1 root root 15487351 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala-compiler-2.11.8.jar
-rw-r--r-- 1 root root  5744974 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala-library-2.11.8.jar
-rw-r--r-- 1 root root   423753 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala-parser-combinators_2.11-1.0.4.jar
-rw-r--r-- 1 root root  4573750 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala-reflect-2.11.8.jar
-rw-r--r-- 1 root root   648678 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scala-xml_2.11-1.0.2.jar
-rw-r--r-- 1 root root   802818 Jul 12 19:16 /opt/cloudera/parcels/SPARK2/lib/spark2/jars/scalap-2.11.8.jar&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason both Spark1.6 and Spark2.x can coexist is attributed to them having separate parcels and have separate ways of calling. Example to run an application with Spark2, you need to use spark2-shell, spark2-submit, or pyspark2. Likewise, if you want to run an application using Spark1.6 (CDH bundled), you need to use spark-shell, spark-submit, or pyspark.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Dec 2017 09:53:37 GMT</pubDate>
    <dc:creator>AutoIN</dc:creator>
    <dc:date>2017-12-27T09:53:37Z</dc:date>
  </channel>
</rss>

