diff --git a/circle.yml b/circle.yml index 0800afbbff2fc..c8197e18ffd32 100644 --- a/circle.yml +++ b/circle.yml @@ -61,6 +61,9 @@ test: parallel: true timeout: 1800 max-runtime: 14400 + post: + - find . -name unit-tests.log -exec rsync -R {} $CIRCLE_ARTIFACTS \;: + parallel: true deployment: release: diff --git a/dev/deps/spark-deps-hadoop-palantir b/dev/deps/spark-deps-hadoop-palantir index cf26e0406d693..0547b66fe01ae 100644 --- a/dev/deps/spark-deps-hadoop-palantir +++ b/dev/deps/spark-deps-hadoop-palantir @@ -2,6 +2,7 @@ JavaEWAH-0.3.2.jar RoaringBitmap-0.5.11.jar ST4-4.0.4.jar activation-1.1.1.jar +animal-sniffer-annotation-1.0.jar antlr-2.7.7.jar antlr-runtime-3.4.jar antlr4-runtime-4.5.3.jar @@ -13,10 +14,12 @@ apacheds-kerberos-codec-2.0.0-M15.jar api-asn1-api-1.0.0-M20.jar api-util-1.0.0-M20.jar arpack_combined_all-0.1.jar +automaton-1.11-8.jar avro-1.7.7.jar avro-ipc-1.7.7.jar avro-mapred-1.7.7-hadoop2.jar base64-2.3.8.jar +bcpkix-jdk15on-1.52.jar bcprov-jdk15on-1.51.jar bonecp-0.8.0.RELEASE.jar breeze-macros_2.11-0.12.jar @@ -56,6 +59,11 @@ datanucleus-rdbms-3.2.9.jar derby-10.12.1.1.jar eigenbase-properties-1.1.5.jar fastutil-6.5.7.jar +feign-core-8.18.0.jar +feign-jackson-8.18.0.jar +feign-jaxrs-8.18.0.jar +feign-okhttp-8.18.0.jar +generex-1.0.1.jar gson-2.2.4.jar guava-14.0.1.jar guice-3.0.jar @@ -88,8 +96,12 @@ jackson-annotations-2.6.5.jar jackson-core-2.6.5.jar jackson-core-asl-1.9.13.jar jackson-databind-2.6.5.jar +jackson-dataformat-yaml-2.6.5.jar jackson-jaxrs-1.9.13.jar +jackson-jaxrs-base-2.6.5.jar +jackson-jaxrs-json-provider-2.6.5.jar jackson-mapper-asl-1.9.13.jar +jackson-module-jaxb-annotations-2.6.5.jar jackson-module-paranamer-2.6.5.jar jackson-module-scala_2.11-2.6.5.jar jackson-xc-1.9.13.jar @@ -131,10 +143,13 @@ jta-1.1.jar jtransforms-2.4.0.jar jul-to-slf4j-1.7.16.jar kryo-shaded-3.0.3.jar +kubernetes-client-2.2.1.jar +kubernetes-model-1.0.67.jar leveldbjni-all-1.8.jar libfb303-0.9.3.jar libthrift-0.9.3.jar log4j-1.2.17.jar +logging-interceptor-3.6.0.jar lz4-1.3.0.jar mail-1.4.7.jar mesos-1.0.0-shaded-protobuf.jar @@ -149,7 +164,8 @@ netty-all-4.0.43.Final.jar nimbus-jose-jwt-3.9.jar objenesis-2.1.jar okhttp-2.4.0.jar -okio-1.4.0.jar +okhttp-3.6.0.jar +okio-1.11.0.jar opencsv-2.3.jar oro-2.0.8.jar osgi-resource-locator-1.0.1.jar @@ -175,6 +191,7 @@ scalap-2.11.8.jar shapeless_2.11-2.0.0.jar slf4j-api-1.7.16.jar slf4j-log4j12-1.7.16.jar +snakeyaml-1.15.jar snappy-0.2.jar snappy-java-1.1.2.6.jar spire-macros_2.11-0.7.4.jar @@ -190,4 +207,5 @@ xbean-asm5-shaded-4.4.jar xercesImpl-2.9.1.jar xmlenc-0.52.jar xz-1.0.jar +zjsonpatch-0.3.0.jar zookeeper-3.4.6.jar diff --git a/dev/test-dependencies.sh b/dev/test-dependencies.sh index 5908b7bc84688..86f32c6d6177a 100755 --- a/dev/test-dependencies.sh +++ b/dev/test-dependencies.sh @@ -29,7 +29,7 @@ export LC_ALL=C # TODO: This would be much nicer to do in SBT, once SBT supports Maven-style resolution. # NOTE: These should match those in the release publishing script -HADOOP2_MODULE_PROFILES="-Phive-thriftserver -Pmesos -Pyarn -Phive" +HADOOP2_MODULE_PROFILES="-Phive-thriftserver -Pkubernetes -Pmesos -Pyarn -Phive" MVN="build/mvn" HADOOP_PROFILES=( hadoop-palantir diff --git a/dists/hadoop-palantir/pom.xml b/dists/hadoop-palantir/pom.xml new file mode 100644 index 0000000000000..5d7d3af79ce6d --- /dev/null +++ b/dists/hadoop-palantir/pom.xml @@ -0,0 +1,172 @@ + + + + + 4.0.0 + + org.apache.spark + spark-parent_2.11 + 2.2.0-SNAPSHOT + ../../pom.xml + + + spark-dist_2.11-hadoop-palantir + Spark Project Dist Palantir Hadoop + http://spark.apache.org/ + pom + + + spark-dist-hadoop-palantir + none + none + 2.8.0-palantir2 + + + + + + org.apache.spark + spark-core_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mllib_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-streaming_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-graphx_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-sql_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-repl_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-yarn_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mesos_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-kubernetes_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-hive_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-hive-thriftserver_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-ganglia-lgpl_${scala.binary.version} + ${project.version} + + + + + + + + org.spark-project.spark + unused + 1.0.0 + provided + + + org.apache.spark + spark-core_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mllib_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-streaming_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-graphx_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-sql_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-repl_${scala.binary.version} + ${project.version} + + + + + com.google.guava + guava + ${hadoop.deps.scope} + + + + org.apache.spark + spark-yarn_${scala.binary.version} + + + org.apache.spark + spark-mesos_${scala.binary.version} + + + org.apache.spark + spark-hive_${scala.binary.version} + + + org.apache.spark + spark-hive-thriftserver_${scala.binary.version} + + + diff --git a/dists/without-hadoop/pom.xml b/dists/without-hadoop/pom.xml new file mode 100644 index 0000000000000..7f67cbc046580 --- /dev/null +++ b/dists/without-hadoop/pom.xml @@ -0,0 +1,164 @@ + + + + + 4.0.0 + + org.apache.spark + spark-parent_2.11 + 2.2.0-SNAPSHOT + ../../pom.xml + + + spark-dist_2.11-without-hadoop + Spark Project Dist Provided Hadoop + http://spark.apache.org/ + pom + + + spark-dist-hadoop-palantir + none + none + provided + + + + + + org.apache.spark + spark-core_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mllib_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-streaming_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-graphx_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-sql_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-repl_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-yarn_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mesos_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-kubernetes_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-hive_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-hive-thriftserver_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-ganglia-lgpl_${scala.binary.version} + ${project.version} + + + + + + + + org.spark-project.spark + unused + 1.0.0 + provided + + + org.apache.spark + spark-core_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-mllib_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-streaming_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-graphx_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-sql_${scala.binary.version} + ${project.version} + + + org.apache.spark + spark-repl_${scala.binary.version} + ${project.version} + + + + + com.google.guava + guava + ${hadoop.deps.scope} + + + + org.apache.spark + spark-yarn_${scala.binary.version} + + + org.apache.spark + spark-mesos_${scala.binary.version} + + + diff --git a/pom.xml b/pom.xml index 2eb08e5cebead..4189c1b84cba3 100644 --- a/pom.xml +++ b/pom.xml @@ -112,6 +112,8 @@ external/kafka-0-10 external/kafka-0-10-assembly external/kafka-0-10-sql + dists/without-hadoop + dists/hadoop-palantir @@ -671,6 +673,11 @@ jackson-jaxrs-json-provider ${fasterxml.jackson.version} + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${fasterxml.jackson.version} + org.glassfish.jersey.core jersey-server @@ -2683,7 +2690,7 @@ resource-managers/kubernetes/integration-tests resource-managers/kubernetes/integration-tests-spark-jobs resource-managers/kubernetes/integration-tests-spark-jobs-helpers - +