Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Include Pkubernetes-hdfs-extra for token-refresh-server in CI setup. #529

Open
kimoonkim opened this issue Oct 18, 2017 · 0 comments
Open

Comments

@kimoonkim
Copy link
Member

@ifilonenko @liyinan926 @foxish @erikerlandson

PR #453 implements a new server token-refresh-server that renews HDFS tokens used by long-running Spark jobs. The PR made the server an optional component that gets activated under a separate maven profile Pkubernetes-hdfs-extra.

We should include the profile in the Jenkins CI setup after #453 is merged in, so that subsequent PRs would build the project and run the unit tests. (The integration test will be addressed later)

For the main build, the command would look like the following (the bold part is new):

./build/mvn clean install -Pmesos -Pyarn -Phadoop-2.7 -Pkubernetes -Pkubernetes-hdfs-extra -Pkinesis-asl -Phive -Phive-thriftserver -DskipTests

The unit test will be like:

./build/mvn clean test -Pmesos -Pyarn -Phadoop-2.7 -Pkubernetes -Pkubernetes-hdfs-extra -pl core,resource-managers/kubernetes/core,resource-managers/kubernetes/token-refresh-server -am -Dtest=none '-Dsuffixes=^org.apache.spark.(?!SortShuffleSuite$|rdd.LocalCheckpointSuite$|deploy.SparkSubmitSuite$|deploy.StandaloneDynamicAllocationSuite$).*'

We should add this after #453 is merged in because maven will crash at the missing project resource-managers/kubernetes/token-refresh-server in the -pl parameter of the unit test build command line. (Missing profiles, on the other hand, are simply ignored)

Please feel free to ask questions or make suggestions. (This was discussed in the SIG meeting this morning)

ifilonenko pushed a commit to bloomberg/apache-spark-on-k8s that referenced this issue Apr 7, 2019
ifilonenko pushed a commit to bloomberg/apache-spark-on-k8s that referenced this issue Apr 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant