how to check the version of spark code example Example: how to check spark version spark-submit --version