Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-03-2016 04:20 PM
I am little confused while I am checking the version of spark :
ON the server it says as follows :
/usr/hdp/2.3.0.0-2557/spark
[admin2.prod.iad spark]$ more RELEASE
Spark 1.3.1.2.3.0.0-2557 built for Hadoop 2.7.1.2.3.0.0-2557
Whereas on Ambari it says as follows :
| Spark | 1.5.2.2.3 | Installed | Apache Spark is a fast and general engine for large-scale data processing. |
which one is the right one.
Also on Ambari the status says "Installed", what does this mean ?
Created 09-21-2016 02:32 PM
1.3.1 is the Spark version supported by HDP 2.3.0.
Would it be possible that someone installed a newer version of Spark outside of Ambari then uninstalled and Ambari is caching somehow that version. Did you restart Ambari server and checked again?
Created 08-03-2016 04:38 PM
This is confusing. Not sure what's causing it. But to find the right spark version, just run your spark-shell. It shows spark version when it starts.
Created on 08-03-2016 04:38 PM - edited 08-18-2019 04:32 AM
I see that might be problem. you can use below command to check correct version of spark and relate to your above outputs -
$rpm -qa |grep spark
As i see in HDP 2.4.2 spark version is correctly displayed as shown below -
Created 08-03-2016 04:55 PM
the spark shell says as follows :
Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 1.3.1 /_/ Using Scala version 2.10.4 (OpenJDK 64-Bit Server VM, Java 1.7.0_99)
so I believe this is the right one
Created 08-03-2016 05:00 PM
yes, you are using version 1.3.1.
Created 09-21-2016 02:32 PM
1.3.1 is the Spark version supported by HDP 2.3.0.
Would it be possible that someone installed a newer version of Spark outside of Ambari then uninstalled and Ambari is caching somehow that version. Did you restart Ambari server and checked again?