Skip to content

Commit 58cebd1

Browse files
liyinan926ash211
authored andcommitted
Updated devloper doc to include a install step for first time compilation (apache#423)
1 parent 455317d commit 58cebd1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

resource-managers/kubernetes/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ important matters to keep in mind when developing this feature.
1414

1515
# Building Spark with Kubernetes Support
1616

17-
To build Spark with Kubernetes support, use the `kubernetes` profile when invoking Maven. For example, to simply compile
18-
the Kubernetes core implementation module along with its dependencies:
17+
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:
1918

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

21+
If this is the first time you compile the Kubernetes core implementation module, run the following command to install the dependencies and compile:
22+
23+
build/mvn install -Pkubernetes -pl resource-managers/kubernetes/core -am -DskipTests
24+
2225
To build a distribution of Spark with Kubernetes support, use the `dev/make-distribution.sh` script, and add the
2326
`kubernetes` profile as part of the build arguments. Any other build arguments can be specified as one would expect when
2427
building Spark normally. For example, to build Spark against Hadoop 2.7 and Kubernetes:

0 commit comments

Comments
 (0)