Repository: incubator-hivemall
Updated Branches:
  refs/heads/master cd24be895 -> eac48007b


[HIVEMALL-117][SPARK] Update the installation guide for Spark

## What changes were proposed in this pull request?
This pr updated the installation guide for Spark.

## What type of PR is it?
Documentation

## What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-117

## How was this patch tested?
N/A

Author: Takeshi Yamamuro <[email protected]>

Closes #141 from maropu/HIVEMALL-117.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/eac48007
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/eac48007
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/eac48007

Branch: refs/heads/master
Commit: eac48007b758fbb3efe75e2c250f61646bf9817e
Parents: cd24be8
Author: Takeshi Yamamuro <[email protected]>
Authored: Thu Apr 5 15:24:55 2018 +0900
Committer: Makoto Yui <[email protected]>
Committed: Thu Apr 5 15:24:55 2018 +0900

----------------------------------------------------------------------
 docs/gitbook/spark/getting_started/installation.md | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/eac48007/docs/gitbook/spark/getting_started/installation.md
----------------------------------------------------------------------
diff --git a/docs/gitbook/spark/getting_started/installation.md 
b/docs/gitbook/spark/getting_started/installation.md
index e1a3450..b244f30 100644
--- a/docs/gitbook/spark/getting_started/installation.md
+++ b/docs/gitbook/spark/getting_started/installation.md
@@ -20,7 +20,7 @@
 Prerequisites
 ============
 
-* Spark v2.0 or later
+* Spark v2.1 or later
 * Java 7 or later
 * `hivemall-spark-xxx-with-dependencies.jar` that can be found in [the ASF 
distribution mirror](http://www.apache.org/dyn/closer.cgi/incubator/hivemall/).
 * 
[define-all.spark](https://github.com/apache/incubator-hivemall/blob/master/resources/ddl/define-all.spark)
@@ -49,3 +49,14 @@ scala> :load resources/ddl/define-all.spark
 scala> :load resources/ddl/import-packages.spark
 ```
 
+Installation via [Spark 
Packages](https://spark-packages.org/package/apache-hivemall/apache-hivemall)
+============
+
+In another way to install Hivemall, you can use a `--packages` option.
+
+```
+$ ./bin/spark-shell --packages apache-hivemall:apache-hivemall:0.5.1-<spark 
version>
+```
+
+You need to set your Spark version at `<spark version>`, e.g., `spark2.2` for 
Spark v2.2.x.
+

Reply via email to