Closed RENEEGAILP closed 4 years ago
Which platform are you running on ?
Windows 8.1 I've changed the path variables manually in environment variables I'm not sure how to add the jar files for elastic search
You should be able to use --driver-class-path
but ensure you set the path to the fully qualified path name for the location where you unzipped the elasticsearch-hadoop
JAR.
I am not familiar with running Spark on Windows, but I assume you should set the path using Windows-style backslashes.
After opening the ipnyb in jupyter this is the error
Can you try running the Windows .cmd version of pyspark :..\spark-2.2.0-bin-hadoop2.7\bin\pyspark.cmd
?
After opening the ipnyb in jupyter this is the error
i meet the same error, haver you solve it?
PYSPARK_DRIVER_PYTHON="jupyter"`` PYSPARK_DRIVER_PYTHON_OPTS="notebook" ../spark-2.2.0-bin-hadoop2.7/bin/pyspark --driver-memory 4g --driver-class-path ../../elasticsearch-hadoop-5.3.0/dist/elasticsearch-spark-20_2.11-5.3.0.jar
This gives an error in command prompt