Skip to content

Commit

Permalink
Updated devloper doc to include a install step for first time compila…
Browse files Browse the repository at this point in the history
…tion (apache#423)
  • Loading branch information
liyinan926 authored and ash211 committed Aug 21, 2017
1 parent 455317d commit 58cebd1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions resource-managers/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ important matters to keep in mind when developing this feature.

# Building Spark with Kubernetes Support

To build Spark with Kubernetes support, use the `kubernetes` profile when invoking Maven. For example, to simply compile
the Kubernetes core implementation module along with its dependencies:
To build Spark with Kubernetes support, use the `kubernetes` profile when invoking Maven. For example, to simply compile the Kubernetes core implementation module along with its dependencies:

build/mvn compile -Pkubernetes -pl resource-managers/kubernetes/core -am -DskipTests

If this is the first time you compile the Kubernetes core implementation module, run the following command to install the dependencies and compile:

build/mvn install -Pkubernetes -pl resource-managers/kubernetes/core -am -DskipTests

To build a distribution of Spark with Kubernetes support, use the `dev/make-distribution.sh` script, and add the
`kubernetes` profile as part of the build arguments. Any other build arguments can be specified as one would expect when
building Spark normally. For example, to build Spark against Hadoop 2.7 and Kubernetes:
Expand Down

0 comments on commit 58cebd1

Please sign in to comment.