[GitHub] incubator-carbondata pull request #477: [CARBONDATA-576] Add build guide to ...

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #477: [CARBONDATA-576] Add build guide to ...

qiuchenjian-2
GitHub user chenliang613 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/477

    [CARBONDATA-576] Add build guide to github

    Add build guide to github as per incubator mailing list comments.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chenliang613/incubator-carbondata add_build_guide

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/477.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #477
   
----
commit a1b7304a97474b29d73c9e769ed52876c696b308
Author: chenliang613 <[hidden email]>
Date:   2016-12-28T09:49:56Z

    add mvn build guide

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #477: [CARBONDATA-576] Add build guide to github

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/477
 
    Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/355/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #477: [CARBONDATA-576] Add build guide to ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/477#discussion_r94092583
 
    --- Diff: build/README.md ---
    @@ -0,0 +1,60 @@
    +<!--
    +    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.0 clean package
    +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.0 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
    --- End diff --
   
    please add -Pspark-2.0, -Pno-kettle and -Pbuild-with-format


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #477: [CARBONDATA-576] Add build guide to ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenliang613 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/477#discussion_r94100051
 
    --- Diff: build/README.md ---
    @@ -0,0 +1,60 @@
    +<!--
    +    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.0 clean package
    +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.0 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
    --- End diff --
   
    1.ok: add spark-2.0.
    2.already added -Pbuild-with-format
    3.don't suggest adding -Pno-kettle currently , because related test cases are not separated.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #477: [CARBONDATA-576] Add build guide to github

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/477
 
    Build Success with Spark 1.5.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/366/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #477: [CARBONDATA-576] Add build guide to ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-carbondata/pull/477


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---