Skip to content

Custom Distributions

Chris Fregly edited this page May 23, 2016 · 38 revisions

Custom Distributions

  • Not really custom - more about enabling various options at build-time

Spark

  • Hadoop
  • Hive
  • Hive ThriftServer
  • Ganglia
  • netlib-java (Java wrapper around BLAS libs)

Details are here.

Build Commands (Very Long...)

  • Clone the branch/tag as follows:
git clone --branch 'branch-2.0' --single-branch https://github.com/apache/spark.git branch-2.0
  • Make sure you have installed R on Mac OSX or Linux before running the following command:

  • Modify the <protobuf.version> to 2.6.1 in the main pom.xml file at the root of the Spark project

vi pom.xml
...
# change the to version 2.6.1
    <protobuf.version>2.6.1</protobuf.version>
  • Create the Custom Spark Distribution
./dev/make-distribution.sh --name fluxcapacitor --tgz -Phadoop-2.6 -Dhadoop.version=2.6.0 -Psparkr -Phive -Phive-thriftserver -Pspark-ganglia-lgpl -Pnetlib-lgpl -Dscala-2.10 -DskipTests

Zeppelin Master

Details are here.

Build Command

Clone the repo as follows:

git clone -b master --single-branch git@github.com:apache/incubator-zeppelin.git master

Build the distribution

mvn clean package -Pbuild-distr -Ppyspark -DskipTests -Drat.skip=true -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true

Clone this wiki locally