Search code examples
apache-sparkcloudera-cdh

How to check the Spark version


as titled, how do I know which version of spark has been installed in the CentOS?

The current system has installed cdh5.1.0.


Solution

  • If you use Spark-Shell, it appears in the banner at the start.

    Programatically, SparkContext.version can be used.