编译CarbonData的预备条件:
1、类Unix环境(Linux, Mac OS X)
2、git
3、Apache Maven (推荐使用3.0.4)
4、Java 7 or 8
5、Scala 2.10
6、Apache Thrift 0.9.3
从github中克隆CarbonData
$ git clone https://github.com/HuaweiBigData/carbondata.git
根据自己需求依次选择下面命令编译CarbonData
1、Build without testing
$ cd carbondata $ mvn -DskipTests clean install
2、Build with testing:
$ cd carbondata $ mvn clean install
3、Build along with integration test cases
$ cd carbondata $ mvn -Pintegration-test clean install
更多关于Carbondata的信息请参见https://github.com/HuaweiBigData/carbondata
本博客文章除特别声明,全部都是原创!