File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 15
15
limitations under the License.
16
16
-->
17
17
18
- # Building CarbonData
18
+ # Build from source
19
19
20
20
## Prerequisites
21
+
21
22
* Unix-like environment (Linux, Mac OS X)
22
23
* Git
23
24
* [ Apache Maven (Recommend version 3.3 or later)] ( https://maven.apache.org/download.cgi )
24
25
* [ Oracle Java 8] ( http://www.oracle.com/technetwork/java/javase/downloads/index.html )
25
26
* [ Apache Thrift 0.9.3] ( http://archive.apache.org/dist/thrift/0.9.3/ )
26
27
27
- ## Build command
28
28
Build with different supported versions of Spark, by default using Spark 2.4.5
29
- ```
30
- mvn -DskipTests -Pspark-2.4 clean package
31
- ```
32
29
33
- Note :
30
+ To be noticed :
34
31
- If you are working in Windows environment, remember to add ` -Pwindows ` while building the project.
35
32
- The mv feature is not compiled by default. If you want to use this feature, remember to add ` -Pmv ` while building the project.
36
33
37
- ## For contributors : To build the format code after any changes, please follow the below command.
38
- Note: Need install Apache Thrift 0.9.3
39
- ```
34
+ ## Development
35
+
36
+ To build the format code after any changes, please follow the below command:
37
+
38
+ ``` shell
40
39
mvn clean -DskipTests -Pbuild-with-format -Pspark-2.4 package
41
40
```
42
41
42
+ And you can skip the build-with-format stage if you're building an assemble jar:
43
+
44
+ ``` shell
45
+ mvn -DskipTests -Pspark-2.4 clean package
46
+ ```
47
+
43
48
# Building CarbonData notebook images
44
49
[ How to build carbondata notebook docker image by dockerfile] ( #How-to-build-carbondata-notebook-docker-image-by-dockerfile.md )
45
50
[ How to build carbondata notebook docker image by manual] ( #How-to-build-carbondata-notebook-docker-image-by-manual.md )
You can’t perform that action at this time.
0 commit comments