You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/09/01 08:10:05 UTC
spark git commit: [SPARK-17329][BUILD] Don't build PRs with -Pyarn
unless YARN code changed
Repository: spark
Updated Branches:
refs/heads/master 21c0a4fe9 -> 536fa911c
[SPARK-17329][BUILD] Don't build PRs with -Pyarn unless YARN code changed
## What changes were proposed in this pull request?
Only build PRs with -Pyarn if YARN code was modified.
## How was this patch tested?
Jenkins tests (will look to verify whether -Pyarn was included in the PR builder for this one.)
Author: Sean Owen <so...@cloudera.com>
Closes #14892 from srowen/SPARK-17329.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/536fa911
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/536fa911
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/536fa911
Branch: refs/heads/master
Commit: 536fa911c181958d84f14156f7d57ef5fd68df48
Parents: 21c0a4f
Author: Sean Owen <so...@cloudera.com>
Authored: Thu Sep 1 09:10:01 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Sep 1 09:10:01 2016 +0100
----------------------------------------------------------------------
dev/run-tests.py | 10 +++++-----
dev/sparktestsupport/modules.py | 1 +
2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/536fa911/dev/run-tests.py
----------------------------------------------------------------------
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 930d7f8..ae4b530 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -305,11 +305,11 @@ def get_hadoop_profiles(hadoop_version):
"""
sbt_maven_hadoop_profiles = {
- "hadoop2.2": ["-Pyarn", "-Phadoop-2.2"],
- "hadoop2.3": ["-Pyarn", "-Phadoop-2.3"],
- "hadoop2.4": ["-Pyarn", "-Phadoop-2.4"],
- "hadoop2.6": ["-Pyarn", "-Phadoop-2.6"],
- "hadoop2.7": ["-Pyarn", "-Phadoop-2.7"],
+ "hadoop2.2": ["-Phadoop-2.2"],
+ "hadoop2.3": ["-Phadoop-2.3"],
+ "hadoop2.4": ["-Phadoop-2.4"],
+ "hadoop2.6": ["-Phadoop-2.6"],
+ "hadoop2.7": ["-Phadoop-2.7"],
}
if hadoop_version in sbt_maven_hadoop_profiles:
http://git-wip-us.apache.org/repos/asf/spark/blob/536fa911/dev/sparktestsupport/modules.py
----------------------------------------------------------------------
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index d8e3989..050cdf0 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -449,6 +449,7 @@ yarn = Module(
"yarn/",
"common/network-yarn/",
],
+ build_profile_flags=["-Pyarn"],
sbt_test_goals=[
"yarn/test",
"network-yarn/test",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org