I've installed cdh5.1.0 on my machine running CentOS. So, my requirement is that how do I know the version of Spark installed on cdh?
There are 2 ways to check the version of Spark.
Just go to Cloudera cdh console and run any of the below given command:
You will see a screen as shown in the below screenshot.