From a8b2331254d9f55c873f37fa86fc96f7b30e8865 Mon Sep 17 00:00:00 2001 From: Alexander Bezzubov Date: Fri, 22 Sep 2017 17:21:46 +0200 Subject: [PATCH] Build: work-around for runtime Guava ver miss-match Signed-off-by: Alexander Bezzubov --- .travis.yml | 2 +- src/main/resources/spark-config.properties | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/spark-config.properties diff --git a/.travis.yml b/.travis.yml index 51d2827..71798f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ script: - ./sbt ++$TRAVIS_SCALA_VERSION jacoco:cover || travis_terminate 1 - ./sbt assembly - ./_tools/getApacheSpark.sh "2.2.0" "2.7" - - ./spark/bin/spark-shell --jars ./target/scala-2.11/spark-api-uber.jar -i src/test/resources/SparkShellScript.scala + - ./spark/bin/spark-shell --jars ./target/scala-2.11/spark-api-uber.jar -i src/test/resources/SparkShellScript.scala --properties-file src/main/resources/spark-config.properties after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/src/main/resources/spark-config.properties b/src/main/resources/spark-config.properties new file mode 100644 index 0000000..8058301 --- /dev/null +++ b/src/main/resources/spark-config.properties @@ -0,0 +1,3 @@ +spark.driver.host=localhost +spark.driver.userClassPathFirst=true +spark.executor.userClassPathFirst=true