From 34f52587064815e1c7f769e9e046efa3443e7897 Mon Sep 17 00:00:00 2001 From: James Baiera Date: Mon, 7 Nov 2016 17:09:15 -0500 Subject: [PATCH] [DOC] Adding version compatibility matrix for Spark in installation documentation. fixes #890 --- .../reference/asciidoc/core/intro/download.adoc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/src/reference/asciidoc/core/intro/download.adoc b/docs/src/reference/asciidoc/core/intro/download.adoc index 1d8db9826..4a061bec2 100644 --- a/docs/src/reference/asciidoc/core/intro/download.adoc +++ b/docs/src/reference/asciidoc/core/intro/download.adoc @@ -63,12 +63,25 @@ These are available under the same `groupId`, using an `artifactId` with the pat ---- org.elasticsearch - elasticsearch-spark_2.10<1> + elasticsearch-spark-20<1>_2.10<2> {ver} ---- -<1> 'spark' artifact. Notice the `_2.10` suffix which indicates the Scala version compatible with the artifact. Currently it is the same as the version used by Spark itself. +<1> 'spark' artifact. Notice the `-20` part of the suffix which indicates the Spark version compatible with the artifact. Use `20` for Spark 2.0+ and `13` for Spark 1.3-1.6. +<2> Notice the `_2.10` suffix which indicates the Scala version compatible with the artifact. Currently it is the same as the version used by Spark itself. + +The Spark connector framework is the most sensitive to version incompatibilities. For your convenience, a version compatibility matrix has been provided below: +[cols="2,2,10",options="header",] +|========================================================== +| Spark Version | Scala Version | ES-Hadoop Artifact ID +| 1.0 - 1.2 | 2.10 | +| 1.0 - 1.2 | 2.11 | +| 1.3 - 1.6 | 2.10 | elasticsearch-spark-13_2.10 +| 1.3 - 1.6 | 2.11 | elasticsearch-spark-13_2.11 +| 2.0+ | 2.10 | elasticsearch-spark-20_2.10 +| 2.0+ | 2.11 | elasticsearch-spark-20_2.11 +|========================================================== .Cascading ["source","xml",subs="attributes"]