mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
![]() This PR supports specifying the jars(or zip packages) for a job, which are used for all workers for this job. You can specify jars or zips in the config file of your job: ```yml ray { job { runtime-env: { "jars": [ "https://my_host/a.jar", "https://my_host/b.jar" ] } } } ``` or via system properties: ```java System.setProperty("ray.job.runtime-env.jars.0", "https://my_host/a.jar"); System.setProperty("ray.job.runtime-env.jars.1", "https://my_host/a.jar"); Ray.init(); // all workers of this job will add a.jar and b.jar into the classpath. ``` |
||
---|---|---|
.. | ||
src/main | ||
pom_template.xml |