diff options
author | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-05-23 00:04:01 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-05-23 00:04:01 -0700 |
commit | a40bca0111de45763c3ef4270afb2185c16b8f95 (patch) | |
tree | fd7d6b8d70c25cf2b82b7b8731ff43ac3e67fe7d /make-distribution.sh | |
parent | 7af3818c6b2bf35bfa531ab7cc3a4a714385015e (diff) | |
download | spark-a40bca0111de45763c3ef4270afb2185c16b8f95.tar.gz spark-a40bca0111de45763c3ef4270afb2185c16b8f95.tar.bz2 spark-a40bca0111de45763c3ef4270afb2185c16b8f95.zip |
[SPARK-6811] Copy SparkR lib in make-distribution.sh
This change also remove native libraries from SparkR to make sure our distribution works across platforms
Tested by building on Mac, running on Amazon Linux (CentOS), Windows VM and vice-versa (built on Linux run on Mac)
I will also test this with YARN soon and update this PR.
Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu>
Closes #6373 from shivaram/sparkr-binary and squashes the following commits:
ae41b5c [Shivaram Venkataraman] Remove native libraries from SparkR Also include the built SparkR package in make-distribution.sh
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-x | make-distribution.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index 8d6e91d675..78827341b9 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -229,6 +229,8 @@ cp "$SPARK_HOME"/conf/*.template "$DISTDIR"/conf cp "$SPARK_HOME/README.md" "$DISTDIR" cp -r "$SPARK_HOME/bin" "$DISTDIR" cp -r "$SPARK_HOME/python" "$DISTDIR" +mkdir -p "$DISTDIR"/R/lib +cp -r "$SPARK_HOME/R/lib/SparkR" "$DISTDIR"/R/lib cp -r "$SPARK_HOME/sbin" "$DISTDIR" cp -r "$SPARK_HOME/ec2" "$DISTDIR" |