I'm trying to apply this tuto in my ubuntu, and this is what i did:
1-install spark 2.2.... (pyspark)+ java(1.8) + anaconda (Python2.7)
2-edit the .bachrc (adding 2 lines):
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS="notebook"
3-lanch Pyspark: $sudo Pyspark it works fine
4-lanch jupyter: $sudo jupyther notebook it works fine
when i run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" spark-2.2.0-bin-hadoop2.7/bin/pyspark the command to launch Pyspark with Jupyter notebook i get this:
env: ‘jupyter’: No such file or directory
what should i do ??