how to change spark version on mac by command code example Example: how to check spark version spark-submit --version