Apache DataFusion SQL Query Engine
ARROW-1163: [Java] Java client support for plasma
salah-man9cb7ffdc452c
diff --git a/.travis.yml b/.travis.ymlindex 7918eb8a6c..c5b71e44d7 100644--- a/.travis.yml+++ b/.travis.yml@@ -129,6 +129,8 @@ matrix:env: ARROW_TEST_GROUP=integrationjdk: openjdk8env:+ - ARROW_TRAVIS_PLASMA=1+ - ARROW_TRAVIS_PLASMA_JAVA_CLIENT=1- CC="clang-6.0"- CXX="clang++-6.0"before_script:@@ -140,6 +142,7 @@ matrix:- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.shscript:- $TRAVIS_BUILD_DIR/ci/travis_script_integration.sh+ - $TRAVIS_BUILD_DIR/ci/travis_script_plasma_java_client.sh# NodeJS- language: node_jsos: linuxdiff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.shindex 379007d5bf..541d5fd937 100755--- a/ci/travis_before_script_cpp.sh+++ b/ci/travis_before_script_cpp.sh@@ -74,6 +74,10 @@ if [ $ARROW_TRAVIS_PLASMA == "1" ]; thenCMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS -DARROW_PLASMA=ON"fi+if [ $ARROW_TRAVIS_PLASMA_JAVA_CLIENT == "1" ]; then+ CMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS -DARROW_PLASMA_JAVA_CLIENT=ON"+fi+if [ $ARROW_TRAVIS_ORC == "1" ]; thenCMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS -DARROW_ORC=ON"fidiff --git a/ci/travis_script_plasma_java_client.sh b/ci/travis_script_plasma_java_client.shnew file mode 100755index 0000000000..628796dac2--- /dev/null+++ b/ci/travis_script_plasma_java_client.sh@@ -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