Giter Site home page Giter Site logo

Comments (9)

kira-lin avatar kira-lin commented on June 9, 2024

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.

swapkh91 avatar swapkh91 commented on June 9, 2024

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.

kira-lin avatar kira-lin commented on June 9, 2024

Sorry for inconvenience. We only tested java 8. Java 11 should be fine though.

from raydp.

swapkh91 avatar swapkh91 commented on June 9, 2024

@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
image

: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.

kira-lin avatar kira-lin commented on June 9, 2024

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.

swapkh91 avatar swapkh91 commented on June 9, 2024

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.

psr-ai avatar psr-ai commented on June 9, 2024

He @swapkh91 I am also getting the same error. Did you find the solution for this?

from raydp.

kira-lin avatar kira-lin commented on June 9, 2024

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.

Mayurji avatar Mayurji commented on June 9, 2024

@kira-lin, Is there any update on this issue?

from raydp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.