How to check the Spark version

HappyCoding picture HappyCoding · Apr 17, 2015 · Viewed 102.1k times · Source

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

The current system has installed cdh5.1.0.

Answer

Shyamendra Solanki picture Shyamendra Solanki · Apr 17, 2015

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

Programatically, SparkContext.version can be used.