Skip to content

Commit a8d3c05

Browse files
salah-manpcmoritz
authored andcommitted
[JavaWorker] Enable java worker support (#2094)
* Enable java worker support -------------------------- This commit includes a tailored version of the Java worker implementation from Ant Financial. The changes for build system, python module, src module and arrow are in other commits, this commit consists of the following modules: - java/api: Ray API definition - java/common: utilities - java/hook: binary rewrite of the Java byte-code for remote execution - java/runtime-common: common implementation of the runtime in worker - java/runtime-dev: a pure-java mock implementation of the runtime for fast development - java/runtime-native: a native implementation of the runtime - java/test: various tests Contributors for this work: Guyang Song, Peng Cao, Senlin Zhu,Xiaoying Chu, Yiming Yu, Yujie Liu, Zhenyu Guo * change the format of java help document from markdown to RST * update the vesion of Arrow for java worker * adapt the new version of plasma java client from arrow which use byte[] instead of custom type * add java worker test to ci * add the example module for better usage guide
1 parent 74cca3b commit a8d3c05

File tree

193 files changed

+22675
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+22675
-5
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ matrix:
2020
osx_image: xcode7
2121
env: PYTHON=3.5
2222

23+
- os: linux
24+
dist: trusty
25+
env:
26+
- JDK='Oracle JDK 8'
27+
- PYTHON=3.5
28+
install:
29+
- ./.travis/install-dependencies.sh
30+
- export PATH="$HOME/miniconda/bin:$PATH"
31+
script:
32+
- ./java/test.sh
33+
2334
- os: linux
2435
dist: trusty
2536
env: LINT=1

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [[ -z "$PYTHON_EXECUTABLE" ]]; then
7979
fi
8080
echo "Using Python executable $PYTHON_EXECUTABLE."
8181

82-
bash $ROOT_DIR/setup_thirdparty.sh $PYTHON_EXECUTABLE
82+
bash $ROOT_DIR/setup_thirdparty.sh $PYTHON_EXECUTABLE $LANGUAGE
8383

8484
# Now we build everything.
8585
if [[ "$LANGUAGE" == "java" ]]; then

0 commit comments

Comments
 (0)