Commit Graph

339 Commits

Author SHA1 Message Date
fangfengbin 1d06e025ae [Java]Add actor id when throw RayActorException (#10886) 2020-09-20 16:51:14 +08:00
Alex Wu 9a07c7b963 [1.0] Remove args from ray start (#10659) 2020-09-18 16:41:23 -07:00
chaokunyang 322f12600f bump java version to 1.1.0 (#10795) 2020-09-16 12:05:11 +08:00
chaokunyang 34bb61dabc [Java] Refine java driver log (#10794) 2020-09-15 17:03:03 +08:00
Hao Chen 1a5cfe0b79 [Java] rename config ray.redis.address to ray.address (#10772) 2020-09-15 11:13:19 +08:00
chaokunyang 1aad8aa39c [Java] Fix java doc building error (#10757) 2020-09-14 17:44:45 +08:00
Kai Yang a43817f34b [Java] Attach owner address for pass-by-reference task arguments (#9634) 2020-09-14 11:46:59 +08:00
Xianyang Liu 8166d71bde [Java] Support exchange ObjectRef between processes (#10729) 2020-09-13 11:54:45 +08:00
Hao Chen f7558ed2a5 Remove outdated Java doc and run demo code in CI (#10698) 2020-09-11 19:15:52 +08:00
Kai Yang 23051385a4 Fix Java CI crash caused by incorrect destruction order in core worker (#10709) 2020-09-11 17:33:09 +08:00
chaokunyang e3af76f354 [Java] Skip gpg sign for deploy snapshot jars (#10736) 2020-09-11 17:31:36 +08:00
chaokunyang 427ba3df47 [Java] fix multi-platform jar build (#10732) 2020-09-11 15:05:48 +08:00
chaokunyang 74be2d43aa [Java] fix_download_jars (#10730) 2020-09-11 10:35:57 +08:00
chaokunyang bf71c0b9f6 [Java] Deploy snapshort jars to maven repository in travis ci (#10701) 2020-09-10 15:40:16 -07:00
chaokunyang 608bbb1ee7 [Java] remove native binary from ray_dist.jar (#10461) 2020-09-10 17:33:39 +08:00
Kai Yang afa0216280 Remove the '--include-java' option (#10594) 2020-09-09 17:01:17 +08:00
chaokunyang 72ac85c19e [Java] remove resetLibraryPath (#10671) 2020-09-09 15:46:37 +08:00
chaokunyang a96af94e56 [Java] add developer section (#10670) 2020-09-09 15:45:49 +08:00
chaokunyang bbfbc98a41 [Core] Allow users to specify the classpath and import path (#10560)
* move job resource path to job config

* job resource path support list

* job resource path support for python

* fix job_resource_path support

* fix worker command

* fix job config

* use jar file instead of parent path

* fix job resource path

* add test to test.sh

* lint

* Update java/runtime/src/main/resources/ray.default.conf

Co-authored-by: Kai Yang <kfstorm@outlook.com>

* fix testGetFunctionFromLocalResource

* lint

* fix rebase

* add jars in resource path to classloader

* add job_resource_path to worker

* add ray stop

* rename job_resource_path to resource_path

* fix resource_path

* refine resource_path comments

* rename job resource path to code search path

* Add instruction about starting a cross-language cluster

* fix ClassLoaderTest.java

* add code-search-path to RunManager

* refine comments for code-search-path

* rename resourcePath to codeSearchPath

* Update doc

* fix

* rename resourcePath to codeSearchPath

* update doc

* filter out empty path

* fix comments

* fix comments

* fix tests

* revert pom

* lint

* fix doc

* update doc

* Apply suggestions from code review

* lint

Co-authored-by: Kai Yang <kfstorm@outlook.com>
Co-authored-by: Hao Chen <chenh1024@gmail.com>
2020-09-09 00:46:32 +08:00
Kai Yang aa79542c77 [Java] Fix ClassLoaderTest (#10647) 2020-09-08 22:09:26 +08:00
Kai Yang ca8792e4ff [Java] Disable the multi-worker feature by default (#10593) 2020-09-08 13:10:46 +08:00
fyrestone 226a1824b8 Improve cross language serialization (#10490) 2020-09-08 12:18:13 +08:00
Kai Yang bd37ebb163 [Java] Fix checkstyle of UsingActorsDemo.java (#10615) 2020-09-07 21:22:56 +08:00
Kai Yang f03e91788a Java doc: "Using Actors" page (#10438) 2020-09-05 23:28:03 +08:00
Hao Chen da8181725d [Java] Fix duplicated isInitialized methods (#10601) 2020-09-05 23:13:53 +08:00
fyrestone 77efad8616 Fix Java exception serialization (#10568) 2020-09-05 11:06:14 +08:00
Kai Yang 6a78ba9752 Java doc: "Starting Ray" page (#10062) 2020-09-05 10:15:52 +08:00
chaokunyang 7ee0fdba3d [Java] Throw exception if Ray.init() is not called and users try to access ray API (#10497) 2020-09-05 10:09:19 +08:00
Eric Liang 30911960c8 [1.0] Simple, universal instead of Simple and universal (#10587) 2020-09-04 14:04:29 -07:00
chaokunyang cf3875bd8c [Java] add exitActor API for java (#10496) 2020-09-04 10:11:42 +08:00
chaokunyang 5e4db6ad24 [Java] add default kill option (#10473) 2020-09-04 10:08:52 +08:00
Clark Zinzow 0c0b0d0a73 [Core] Added support for submission-time task names. (#10449)
* Added support for submission-time task names.

* Suggestions from code review: add missing consts

Co-authored-by: SangBin Cho <rkooo567@gmail.com>

* Add num_returns arg to actor method options docstring example.

* Add process name line and proctitle assertion to submission-time task name section of advanced docs.

* Add submission-time task name --> proctitle test for Python worker.

* Added Python actor options tests for num_returns and name.

* Added Java test for submission-time task names.

* Add dashboard image to task name docs section.

* Move to fstrings.

Co-authored-by: SangBin Cho <rkooo567@gmail.com>
2020-09-03 11:45:24 -07:00
chaokunyang 553a93c5cc [Java] fix Checkstyle violation (#10524) 2020-09-03 16:45:21 +08:00
chaokunyang ea95e6f7cc [Java] lint java code (#10494) 2020-09-03 10:39:14 +08:00
chaokunyang f10a5a40b0 [Java] Simplify ray cmd params (#10394) 2020-09-02 19:47:52 +08:00
fyrestone b04222dbd9 [xlang] Cross language serialization for ActorHandle (#10335) 2020-09-02 10:11:53 +08:00
Eric Liang e5d089384b [1.0] Ray whitepaper link and tagline update (#10455) 2020-09-01 09:48:35 -07:00
chaokunyang ba3bd6b225 Fix java ci break (#10470) 2020-09-01 19:33:23 +08:00
Lixin Wei 6bde6b493e [Streaming]Format java code using IDEA (#10440) 2020-08-31 19:45:00 +08:00
Stephanie Wang f75dfd60a3 [api] API deprecations and cleanups for 1.0 (internal_config and Checkpointable actor) (#10333)
* remove

* internal config updates, remove Checkpointable

* Lower object timeout default

* remove json

* Fix flaky test

* Fix unit test
2020-08-27 10:19:53 -07:00
fyrestone 08adbb371f Cross language exception (#10023) 2020-08-26 10:46:05 +08:00
fangfengbin b61a79efd7 [Placement Group]Fix SigSegv bug (#10262)
* fix SigSegv bug

* fix review comments

* fix ut bug

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-23 11:33:40 -07:00
fangfengbin 36c6c4b298 [Placement group] Check if placement group bundle index is valid (#10194)
* add part code

* rebase master

* add java testcase

* fix review comments

* fix lint error

* rebase master

* fix lint error

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-21 11:04:56 -07:00
fangfengbin a462ae2747 [Placement Group]Add strict spread strategy (#10174)
* support STRICT_SPREAD strategy

* fix review comments

* rebase master

* fix lint error

* fix lint error

Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-08-20 10:18:58 -07:00
fangfengbin edd783bc32 [Placement Group]Add soft pack strategy (#10099) 2020-08-17 12:01:34 +08:00
chaokunyang 7ffb37f711 [Java] add maven repo (#10109) 2020-08-14 11:31:01 -07:00
Kai Yang 3bc17fa62a [Core] Multi-tenancy: Pass env variables from job config to worker processes (#10022) 2020-08-10 14:31:37 -07:00
Kai Yang 37821f0b4c Support unlimited JVM options (#9910) 2020-08-10 16:08:33 +08:00
Lingxuan Zuo 9b5b16ef11 [GCS] fix gcs table get all nodes npe (#9927) 2020-08-05 10:36:06 -07:00
Barak Michener c16e1b9524 src/ray/protobuf: Break proto rules into a proper BUILD file (#9792) 2020-08-04 11:12:45 -07:00