tree: 2cfa20c8248d37aa29e99a6ad31284ce42a8500b [path history] [tgz]
  1. README.md
build/README.md

Building CarbonData

Prerequisites

Build release version

Note:Need install Apache Thrift 0.9.3

mvn clean -DskipTests -Pbuild-with-format -Pspark-1.6 install

Build dev version(snapshot version,clone from github)

Note:Already uploaded format.jar to snapshot repo for facilitating dev users, so the compilation command works without “-Pbuild-with-format”

Build without test,by default carbondata takes Spark 1.6.2 to build the project

mvn -DskipTests clean package

Build with different supported versions of Spark.

mvn -DskipTests -Pspark-1.5 -Dspark.version=1.5.1 clean package
mvn -DskipTests -Pspark-1.5 -Dspark.version=1.5.2 clean package
 
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.1 clean package
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.2 clean package
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.3 clean package

mvn -DskipTests -Pspark-2.1 -Dspark.version=2.1.0 clean package

Build with test

mvn clean package