forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-1163: [Java] Java client support for plasma
-------------------------- This commit includes the support of java client for plasma, which is part of the java worker support of Ray. In addition to some minor changes in build system, it consists of the following modules: - java/plasma: java client support for plasma - cpp/src/plasma/lib/java: JNI support for plasma client - java/plasma/Readme.md: Readme.md for help document - java/plasma/test.sh: test.sh for test Author: salah-man <[email protected]> Author: Philipp Moritz <[email protected]> Author: salah <[email protected]> Closes apache#2065 from salah-man/java_lib and squashes the following commits: be067e8 <salah-man> add the test case of contains and hash of plasma java client b7f5e94 <salah-man> fix ci lint error 80e9580 <salah-man> small change for feedback b745465 <salah-man> fix the problems after the feedback 52b26e7 <Philipp Moritz> Google C++ convention 2f3f129 <Philipp Moritz> cleanups 1c327a7 <salah-man> add ci of plasma java client 14393f5 <salah-man> fix the ci problem 3e9ba0d <salah-man> Changes for the feedback from pr -------------------------- It consists of the following changes: add java/plasma/README.md for help document add java/plasma/test.sh for plasma java client test case fix some ci error delete the useless parameters of connect api from jni 9da40d0 <salah-man> Delete the ObjectId.java and ObjectBuffer.java, change the input and output of plasma java client api from custem type to byte 87ba3b9 <salah> Java client support for plasma -------------------------- This commit includes the support of java client for plasma, which is part of the java worker support of Ray. In addition to some minor changes in build system, it consists of the following modules: - java/plasma: java client support for plasma - cpp/src/plasma/lib/java: JNI support for plasma client
- Loading branch information
Showing
15 changed files
with
1,114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
set -e | ||
|
||
PLASMA_JAVA_DIR=${TRAVIS_BUILD_DIR}/java/plasma | ||
|
||
pushd $PLASMA_JAVA_DIR | ||
|
||
mvn clean install | ||
export PLASMA_STORE=${TRAVIS_BUILD_DIR}/cpp-install/bin/plasma_store | ||
java -cp target/test-classes:target/classes -Djava.library.path=${TRAVIS_BUILD_DIR}/cpp-build/debug/ org.apache.arrow.plasma.PlasmaClientTest | ||
|
||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.