Created 06-22-2016 08:34 PM
The spark versions are different in PROD and Staging environment and I have been asked to match.
In DEV it is of higher version :
[hdfs@admin0.exp spark]$ more RELEASE
Spark 1.5.2.2.3.4.0-3485 built for Hadoop 2.7.1.2.3.4.0-3485
[hdfs@admin0.exp spark]$ pwd
/usr/hdp/2.3.4.0-3485/spark
In PROD it is of lower version :
[hdfs@admin1.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
[hdfs@admin1.prod.iad spark]$ pwd
/usr/hdp/2.3.0.0-2557/spark
If you see closely HDP version/release is also different : In DEV it is 2.3.4.0-3485, whereas in PROD it is 2.3.0.0-2557
Do you advise me to upgrade the HDP or Can I just upgrade just the spark ?
Created 06-22-2016 09:01 PM
We recommend to upgrade HDP stack so that you can get appropriate version of spark which comes with stack instead of manually installing spark.
Created 06-29-2016 10:01 PM
once upgrade completed we also need to clicked on finalize button to complete the upgrade process. if you have done this and still see previous version of spark then you should login to node and manually check spark package version through "rpm -qa|grep spark" command.
Created 06-23-2016 02:21 PM
..thanks for your suggestion. Me being a newbie to this system : Can I upgrade through Ambari ?
Created 06-23-2016 06:31 PM
Agreed, you should at least upgrade the lower HDP version (...2.3.0...) to the newer HDP version (2.3.4.0-3485). It is best to get the default Spark version from the HDP install. Please see Table 1.1 at this link which describes the version associations for HDP, Ambari, and Spark: