diff options
author | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2016-09-22 11:52:42 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-09-22 11:52:42 -0700 |
commit | 9f24a17c59b1130d97efa7d313c06577f7344338 (patch) | |
tree | 44e7430a645ae258aeae3891979b710206b5b7d2 /sql/catalyst | |
parent | 17b72d31e0c59711eddeb525becb8085930eadcc (diff) | |
download | spark-9f24a17c59b1130d97efa7d313c06577f7344338.tar.gz spark-9f24a17c59b1130d97efa7d313c06577f7344338.tar.bz2 spark-9f24a17c59b1130d97efa7d313c06577f7344338.zip |
Skip building R vignettes if Spark is not built
## What changes were proposed in this pull request?
When we build the docs separately we don't have the JAR files from the Spark build in
the same tree. As the SparkR vignettes need to launch a SparkContext to be built, we skip building them if JAR files don't exist
## How was this patch tested?
To test this we can run the following:
```
build/mvn -DskipTests -Psparkr clean
./R/create-docs.sh
```
You should see a line `Skipping R vignettes as Spark JARs not found` at the end
Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu>
Closes #15200 from shivaram/sparkr-vignette-skip.
Diffstat (limited to 'sql/catalyst')
0 files changed, 0 insertions, 0 deletions