You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ja...@apache.org on 2016/12/29 07:19:32 UTC

[1/2] incubator-carbondata git commit: add mvn build guide

Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 9d7afb589 -> fd9d1026c


add mvn build guide

add spark2.0


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/0f783e45
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/0f783e45
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/0f783e45

Branch: refs/heads/master
Commit: 0f783e45522269dbfe0450d0da2b830fa6170898
Parents: 9d7afb5
Author: chenliang613 <ch...@apache.org>
Authored: Wed Dec 28 17:49:56 2016 +0800
Committer: jackylk <ja...@huawei.com>
Committed: Thu Dec 29 15:18:46 2016 +0800

----------------------------------------------------------------------
 build/README.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/0f783e45/build/README.md
----------------------------------------------------------------------
diff --git a/build/README.md b/build/README.md
new file mode 100644
index 0000000..600524c
--- /dev/null
+++ b/build/README.md
@@ -0,0 +1,58 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+# Building CarbonData
+
+## Prerequisites
+* Unix-like environment (Linux, Mac OS X)
+* Git
+* [Apache Maven (Recommend version 3.3 or later)](https://maven.apache.org/download.cgi)
+* [Oracle Java 7 or 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
+* [Apache Thrift 0.9.3](https://thrift.apache.org/download)
+
+## Build release version
+Note:Need install Apache Thrift
+```
+mvn clean -DskipTests -Pbuild-with-format 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.5.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-2.0 -Dspark.version=2.0.2 clean package
+```
+
+Build with test
+```
+mvn clean package
+```


[2/2] incubator-carbondata git commit: [CARBONDATA-576] Add build guide to github This closes #477

Posted by ja...@apache.org.
[CARBONDATA-576] Add build guide to github This closes #477


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/fd9d1026
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/fd9d1026
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/fd9d1026

Branch: refs/heads/master
Commit: fd9d1026c7e01e6a39ebc4b35d502574f9eb3232
Parents: 9d7afb5 0f783e4
Author: jackylk <ja...@huawei.com>
Authored: Thu Dec 29 15:19:18 2016 +0800
Committer: jackylk <ja...@huawei.com>
Committed: Thu Dec 29 15:19:18 2016 +0800

----------------------------------------------------------------------
 build/README.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
----------------------------------------------------------------------