
edit profile :vim ~/.profile
add the code into the file: export PYSPARK_PYTHON=python3
execute command : source ~/.profile
./bin/pyspark
edit profile :vim ~/.profile
add the code into the file: export PYSPARK_PYTHON=python3
execute command : source ~/.profile
./bin/pyspark