From 536fa911c181958d84f14156f7d57ef5fd68df48 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Thu, 1 Sep 2016 09:10:01 +0100 Subject: [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 Closes #14892 from srowen/SPARK-17329. --- dev/sparktestsupport/modules.py | 1 + 1 file changed, 1 insertion(+) (limited to 'dev/sparktestsupport/modules.py') diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py index d8e3989ec2..050cdf0437 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", -- cgit v1.2.3