diff options
author | hyukjinkwon <gurwls223@gmail.com> | 2016-08-31 09:06:23 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2016-08-31 09:06:23 -0700 |
commit | 9953442aca5a1528a6b85fa8713a56d36c9a199f (patch) | |
tree | 5be66eea962e94649ec62f6331e13cc1cdb83248 /R/WINDOWS.md | |
parent | 12fd0cd615683cd4c3e9094ce71a1e6fc33b8d6a (diff) | |
download | spark-9953442aca5a1528a6b85fa8713a56d36c9a199f.tar.gz spark-9953442aca5a1528a6b85fa8713a56d36c9a199f.tar.bz2 spark-9953442aca5a1528a6b85fa8713a56d36c9a199f.zip |
[MINOR][SPARKR] Verbose build comment in WINDOWS.md rather than promoting default build without Hive
## What changes were proposed in this pull request?
This PR fixes `WINDOWS.md` to imply referring other profiles in http://spark.apache.org/docs/latest/building-spark.html#building-with-buildmvn rather than directly pointing to run `mvn -DskipTests -Psparkr package` without Hive supports.
## How was this patch tested?
Manually,
<img width="626" alt="2016-08-31 6 01 08" src="https://cloud.githubusercontent.com/assets/6477701/18122549/f6297b2c-6fa4-11e6-9b5e-fd4347355d87.png">
Author: hyukjinkwon <gurwls223@gmail.com>
Closes #14890 from HyukjinKwon/minor-build-r.
Diffstat (limited to 'R/WINDOWS.md')
-rw-r--r-- | R/WINDOWS.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/R/WINDOWS.md b/R/WINDOWS.md index f67a1c51d1..1afcbfcabe 100644 --- a/R/WINDOWS.md +++ b/R/WINDOWS.md @@ -4,13 +4,23 @@ To build SparkR on Windows, the following steps are required 1. Install R (>= 3.1) and [Rtools](http://cran.r-project.org/bin/windows/Rtools/). Make sure to include Rtools and R in `PATH`. + 2. Install [JDK7](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) and set `JAVA_HOME` in the system environment variables. + 3. Download and install [Maven](http://maven.apache.org/download.html). Also include the `bin` directory in Maven in `PATH`. + 4. Set `MAVEN_OPTS` as described in [Building Spark](http://spark.apache.org/docs/latest/building-spark.html). -5. Open a command shell (`cmd`) in the Spark directory and run `mvn -DskipTests -Psparkr package` + +5. Open a command shell (`cmd`) in the Spark directory and build Spark with [Maven](http://spark.apache.org/docs/latest/building-spark.html#building-with-buildmvn) and include the `-Psparkr` profile to build the R package. For example to use the default Hadoop versions you can run + + ```bash + mvn.cmd -DskipTests -Psparkr package + ``` + + `.\build\mvn` is a shell script so `mvn.cmd` should be used directly on Windows. ## Unit tests |