Commit Graph

363 Commits

Author SHA1 Message Date
Eric Liang 5d987f5988 Revert "Increase the number of unique bits for actors to avoid handle collisions (#12894)" (#12988)
This reverts commit 3e492a79ec.
2020-12-18 23:51:44 -08:00
Kai Yang ac5ea2c13d [Java] Fix output parsing in RunManager (#12968)
* Fix output parsing in RunManager

* change log level

Co-authored-by: 灵洵 <fengbin.ffb@antgroup.com>
2020-12-18 18:22:12 -08:00
Eric Liang 3e492a79ec Increase the number of unique bits for actors to avoid handle collisions (#12894) 2020-12-18 15:59:03 -08:00
fangfengbin 91878d18b5 [PlacementGroup]Fix placement group wait api disorder bug (#12827)
* [PlacementGroup]Fix placment group wait api disorder bug

* fix review comment

* fix review comment

* fix review comment

* fix review comments

* increase num_heartbeats_timeout

Co-authored-by: 灵洵 <fengbin.ffb@antgroup.com>
2020-12-16 18:45:53 +08:00
Kai Yang e3b5deb741 [Multi-tenancy] Delete flag enable_multi_tenancy and remove old code path (#10573) 2020-12-10 19:01:40 +08:00
fangfengbin 260b07cf0c [PlacementGroup]Add PlacementGroup wait java api (#12499)
* add part code

* add part code

* add part code

* add part code

* fix review comments

* fix compile bug

* fix compile bug

* fix review comments

* fix review comments

* fix code style

* add part code

* fix review comments

* fix review comments

* fix code style

* rebase master

* fix bug

* fix lint error

* fix compile bug

* fix newline issue

Co-authored-by: 灵洵 <fengbin.ffb@antgroup.com>
2020-12-05 16:40:04 +08:00
Kai Yang 21fcee28f9 [Java] Simplify Ray.init() by invoking ray start internally (#10762) 2020-12-04 14:33:45 +08:00
SangBin Cho f6f3cc9af1 [Core]Remove checkpoint table (#12235)
* Delete an actor entry from node manager.

* Remove checkpoint table

* remote checkpoint interface

* remove checkpoint interface

* fix ExitActorTest

Co-authored-by: chaokunyang <shawn.ck.yang@gmail.com>
2020-12-01 08:58:36 -08:00
Philipp Moritz cf73ccddae Allow more fields for object metadata (#12484) 2020-11-29 21:50:18 -08:00
Hao Chen 20eb217c55 Fix a zsh compatiblity issue in java/BUILD.bazel (#12199) 2020-11-25 14:49:49 +08:00
Ian Rodney 7f1f16d99e [Core] Force get_actor(name)'s name to be non-empty string (#12218) 2020-11-23 12:38:16 -08:00
chaokunyang 9d133e874c [Java] support java actor class inheritance (#12001) 2020-11-23 14:07:10 +08:00
chaokunyang bea0031491 fix linux wheel build (#9896) 2020-11-17 15:49:42 +08:00
DK.Pino 0f9e2fec12 [Placement Group] Add get / get all / remove interface for Placement Group Java api. (#11821)
* add placement group java get/get all interface

* add remove placement group api

* fix some issue like: Placement Group -> placement group

* extract dumplicate code to placement group utils

* specify running mode for placement group ut

* update checkGlobalStateAccessorPointerValid -> validateGlobalStateAccessorPointer

* use THROW_EXCEPTION_AND_RETURN_IF_NOT_OK

* update pg log print
2020-11-17 12:32:39 +08:00
Barak Michener de6df51bd2 [redis, docs]: Bump redis and docs/Pillow dependencies (#11371) 2020-11-11 18:15:27 -08:00
chaokunyang 1979ea9c0a fix disable javadoc lint (#11907) 2020-11-11 13:40:50 +08:00
DK.Pino 50110b934c [Placement Group]Enhance create placement group java api (#11702)
* enhance create pg java api

* add state for PlacementGroup

* fix comment

* move default pg

* make default pg name private

* add bundle size and bundle resource size check when placement group create
2020-11-05 09:59:36 +08:00
Kai Yang cbc5dac6c4 [Java] fix shutdown lock typo (#11410) 2020-10-20 22:31:27 +08:00
Kai Yang abc6126814 [Java] Release actor instance reference when Ray.exitActor() is invoked (#11324) 2020-10-14 13:12:59 +08:00
Kai Yang 3504391fd2 [Core] Multi-tenancy: enable multi-tenancy by default (#10570)
* Add new job in Travis to enable multi-tenancy

* fix

* Update .bazelrc

* Update .travis.yml

* fix test_job_gc_with_detached_actor

* fix test_multiple_downstream_tasks

* fix lint

* Enable multi-tenancy by default

* Kill idle workers in FIFO order

* Update test

* minor update

* Address comments

* fix some cases

* fix test_remote_cancel

* Address comments

* fix after merge

* remove kill

* fix worker_pool_test

* fix java test timeout

* fix test_two_custom_resources

* Add a delay when killing idle workers

* fix test_worker_failure

* fix test_worker_failed again

* fix DisconnectWorker

* update test_worker_failed

* Revert some python tests

* lint

* address comments
2020-09-29 23:54:53 -07:00
Kai Yang 0c254878db [Java] Upgrade TestNG to 7.3.0 (#11135) 2020-09-30 14:38:52 +08:00
Kai Yang 79c6a6fa02 [Java] Enable retry in TestNG (#11065)
* Enable retry in Java test

* lint

* update
2020-09-28 22:16:06 +08:00
fangfengbin dd97f0c30d [Java]Fix testSetResource bug (#11064)
Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
2020-09-28 17:53:08 +08:00
bermaker 273015814d [Java Worker]Add a resource checker for java worker creation (#10948)
Co-authored-by: Kai Yang <kfstorm@outlook.com>
2020-09-22 22:00:28 +08:00
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