Comments (9)
Hi @swapkh91 ,
Sorry for the late reply. Ray 2.7.0 is released recently and might not be compatible with RayDP 1.6.0. Can you try Ray 2.6?
from raydp.
Hi @swapkh91 , Sorry for the late reply. Ray 2.7.0 is released recently and might not be compatible with RayDP 1.6.0. Can you try Ray 2.6?
@kira-lin thanks, I'll try and get back. Any limitation on java version?
from raydp.
Sorry for inconvenience. We only tested java 8. Java 11 should be fine though.
from raydp.
@kira-lin I tested it with ray 2.6.2, getting same error. I'll explain how I'm trying to connect, maybe some issue in the process
the ray cluster is on GKE
I have port forwarded it on my laptop through
kubectl port-forward --address 0.0.0.0 service/raycluster-autoscaler-head-svc 10001:10001
I then connect using
ray.init(address="ray://localhost:10001")
spark = raydp.init_spark(app_name='RayDP Example2',
num_executors=2,
executor_cores=2,
executor_memory='4GB')
Now this init_spark
comamnd gives the above error
I checked the logs through dashboard
:job_id:03000000
:actor_name:RayDPSparkMaster
Error opening zip file or JAR manifest missing : /home/swapnesh/.local/lib/python3.10/site-packages/raydp/jars/raydp-agent-1.6.0.jar
Why is it showing the jar file path of my laptop? It is present there though, I checked
from raydp.
Why is it showing the jar file path of my laptop? It is present there though, I checked
Oops, this seems a bug. We'll try to fix this. For now, you can wrap this init_spark and things you want to do with spark in an remote actor, that should be fine. Thanks for identifying this bug.
from raydp.
Why is it showing the jar file path of my laptop? It is present there though, I checked
Oops, this seems a bug. We'll try to fix this. For now, you can wrap this init_spark and things you want to do with spark in an remote actor, that should be fine. Thanks for identifying this bug.
@kira-lin got it, I'll try that. Also, I noticed that raydp has dependency ray >= 2.1.0
as here. So this installs ray 2.7.1
when I do pip install raydp
I then have to manually do pip install --force-reinstall ray==2.6.2
to downgrade
from raydp.
He @swapkh91 I am also getting the same error. Did you find the solution for this?
from raydp.
hi @raiprabh ,
For now, you can wrap this init_spark and things you want to do with spark in an remote actor, that should be fine. Thanks for identifying this bug.
You can try this solution. We don't have enough bandwidth to work on this project now, so you are welcome to submit a PR to fix this if you have a solution @swapkh91 . We just need to use the path of the remote machines.
from raydp.
@kira-lin, Is there any update on this issue?
from raydp.
Related Issues (20)
- raydp.init_spark fails HOT 3
- Issues with running on Ray Client HOT 3
- raydp start occur null error HOT 1
- Executor lost triggered by JVM OOM can't recover and cause subsequent steps stuck HOT 12
- Support ray 2.3.1 HOT 3
- When submit a script another process start locally in the head node HOT 1
- Add the ability to set the owner of objects when calling _save_spark_df_to_object_store() HOT 1
- Runtime env_vars cannot be passed down to executors HOT 1
- Issue with Running Multiple Spark Jobs Concurrently on Ray Cluster HOT 1
- RayDP Docker Image with Python 3.10 Failing to Build HOT 2
- [stream] does raydp support spark stream data? HOT 1
- Is it possible for raydp to utilize a Spark session created by Apache Livy? HOT 1
- Fix OpenSSF issues
- Fix CVE issues
- install raydp==1.6.0 with pip rasied the "More than one SparkShimProvider found" error
- raydp.init_spark fails HOT 1
- How to develop in intellij?
- how to init raydp resource HOT 1
- incompatible with spark 3.4.3 and 3.5.0
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 raydp.