as titled, how do I know which version of spark has been installed in the CentOS?
The current system has installed cdh5.1.0.
If you are using Databricks and talking to a notebook, just run :
spark.version