how to know what version of spark your using code example Example: how to check spark version spark-submit --version