Comments (4)
Is jupyter
installed?
Also, which directory are you running the command from?
from elasticsearch-spark-recommender.
Does this work:
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
Should be run from the Journey base directory (and assuming that Spark and elasticsearch-hadoop
were unzipped from the parent directory of that).
from elasticsearch-spark-recommender.
@MLnick - the problem was jupyter not being installed. We need to add that to the README somewhere. Also, my notebook is using python 2.7. Is this sufficient, or should I be using 3.X? We should probably specify.
from elasticsearch-spark-recommender.
Ah - yes good point, that needs to be added to the README for sure.
I will double check the Python versions but everything should work for both 2.7 and 3. Will test and document accordingly.
from elasticsearch-spark-recommender.
Related Issues (20)
- "Recommendations" error HOT 2
- 'Recommedation' errors HOT 1
- README request HOT 1
- Add numpy installation to README
- name 'spark' is not defined HOT 2
- PYSPARK_DRIVER_PYTHON is not defined HOT 6
- Thank you HOT 2
- 2018-05-15 18:38:15 ERROR NetworkClient:144 - Node [127.0.0.1:9200] failed (Connection refused: con ect); selected next node [17.13.50.21:9200] 2018-05-15 18:38:19 ERROR NetworkClient:144 - Node [127.0.0.1:9200] failed (Connection refused: con ect); no other nodes left - aborting... HOT 4
- NameError: name 'spark' is not defined HOT 1
- Support for ES 6.6? HOT 6
- how to run PYSPARK_DRIVER_PYTHON="jupyter" PYSPARK_DRIVER_PYTHON_OPTS="notebook" ../spark-2.2.3-bin-hadoop2.7/bin/pyspark --driver-memory 4g --driver-class-path /application/search/es-spark-recommender/elasticsearch-hadoop-5.3.0/dist/elasticsearch-spark-20_2.11-5.3.0.jar in Background process;
- es server and jupyter notebook must run the same machine?can i run jupyer notebook to write remote es server? HOT 1
- Getting error in running code HOT 1
- Support Elasticsearch 7.x HOT 3
- Use ALS instead of SVD? HOT 1
- Py4JJavaError: An error occurred while calling o226.save. : java.lang.NoClassDefFoundError: scala/Product$class HOT 2
- 'PYSPARK_DRIVER_PYTHON' is not recognized as an internal or external command, operable program or batch file.
- RequestError: RequestError(400, 'search_phase_execution_exception', 'runtime error') HOT 1
- Elasticsearch error HOT 2
- Getting Py4JJavaError error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-spark-recommender.