You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2017/01/05 19:22:14 UTC

kudu git commit: KUDU-1655. Update docs for ASF maven repository coordinates

Repository: kudu
Updated Branches:
  refs/heads/branch-1.2.x 03194ea75 -> 7be941fb8


KUDU-1655. Update docs for ASF maven repository coordinates

- Update Maven Artifacts
- Update Kudu Integration with Spark using --packages

Change-Id: I4ddafd84dbf2a977e8b7faea78d3b38968c4e19e
Reviewed-on: http://gerrit.cloudera.org:8080/5581
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <to...@apache.org>
(cherry picked from commit 286f2356260bd747109daf2c14301b3e5b7719f0)
Reviewed-on: http://gerrit.cloudera.org:8080/5600
Tested-by: Todd Lipcon <to...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/7be941fb
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/7be941fb
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/7be941fb

Branch: refs/heads/branch-1.2.x
Commit: 7be941fb823524f62793b2dd1714cefd0db9510a
Parents: 03194ea
Author: Jun He <ju...@gmail.com>
Authored: Sun Dec 25 18:09:09 2016 -0800
Committer: Todd Lipcon <to...@apache.org>
Committed: Wed Jan 4 22:05:51 2017 +0000

----------------------------------------------------------------------
 docs/developing.adoc | 40 ++++++++++++++++++----------------------
 1 file changed, 18 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/7be941fb/docs/developing.adoc
----------------------------------------------------------------------
diff --git a/docs/developing.adoc b/docs/developing.adoc
index 4bfea40..8b85c85 100644
--- a/docs/developing.adoc
+++ b/docs/developing.adoc
@@ -66,34 +66,21 @@ out of date.
 These examples should serve as helpful starting points for your own Kudu applications and integrations.
 
 === Maven Artifacts
-The following Maven `<dependency>` element is valid for the Kudu public beta:
+The following Maven `<dependency>` element is valid for the Apache Kudu public release
+(since 1.0.0):
 
 [source,xml]
 ----
 <dependency>
   <groupId>org.apache.kudu</groupId>
   <artifactId>kudu-client</artifactId>
-  <version>0.5.0</version>
+  <version>1.1.0</version>
 </dependency>
 ----
 
-Because the Maven artifacts are not in Maven Central, use the following `<repository>`
-element:
-
-[source,xml]
-----
-<repository>
-  <id>cdh.repo</id>
-  <name>Cloudera Repositories</name>
-  <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
-  <snapshots>
-    <enabled>false</enabled>
-  </snapshots>
-</repository>
-----
-
-See subdirectories of https://github.com/cloudera/kudu-examples/tree/master/java for
-example Maven pom.xml files.
+Convenience binary artifacts for the Java client and various Java integrations (e.g. Spark, Flume)
+are also now available via the link:http://repository.apache.org[ASF Maven repository] and
+link:https://mvnrepository.com/artifact/org.apache.kudu[Maven Central repository].
 
 == Example Impala Commands With Kudu
 
@@ -102,12 +89,21 @@ and using Impala with Kudu, including several `impala-shell` examples.
 
 == Kudu Integration with Spark
 
-Kudu integrates with Spark through the Data Source API as of version 0.9.
-Include the kudu-spark jar using the --jars option:
+Kudu integrates with Spark through the Data Source API as of version 1.0.0.
+Include the kudu-spark dependency using the --packages option:
+
+Use the kudu-spark_2.10 artifact if using Spark with Scala 2.10
 [source]
 ----
-spark-shell --jars kudu-spark-0.9.0.jar
+spark-shell --packages org.apache.kudu:kudu-spark_2.10:1.1.0
 ----
+
+Use kudu-spark2_2.11 artifact if using Spark 2 with Scala 2.11
+[source]
+----
+spark-shell --packages org.apache.kudu:kudu-spark2_2.11:1.1.0
+----
+
 then import kudu-spark and create a dataframe:
 [source,scala]
 ----