Unable to execute spark2.0 jobs in lab


Although i am setting export SPARK_MAJOR_VERSION =2.0 and running the below command i am still getting error like one below
Can you please help

[sameerrao20118@gw02 ~]$ spark-submit --master=yarn /home/sameerrao20118/order.py --name testingJobSameer
/usr/bin/spark-script-wrapper.sh: line 43: [: 2.0: integer expression expected
SPARK_MAJOR_VERSION is set to 2.0, using Spark2.0
spark-submit is not found, please check if spark2.0 is installed
/usr/bin/spark-submit: line 26: exec: : not found
[sameerrao20118@gw02 ~]$


Try using the below command, it works and screenshot is attached for reference.

/usr/hdp/current/spark2-client/bin/spark-submit --master=yarn /home/sameerrao20118/order.py --name testingJobSameer