aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests-jenkins.py
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2017-02-08 21:28:04 +0000
committerSean Owen <sowen@cloudera.com>2017-02-08 21:28:04 +0000
commitc618ccdbe9ac103dfa3182346e2a14a1e7fca91a (patch)
tree1d4715c753ce9ff67a7ce34b7c9845d7b59f4454 /dev/run-tests-jenkins.py
parent1aeb9f6cba07a52d76e5a52b13b474f5552e5f34 (diff)
downloadspark-c618ccdbe9ac103dfa3182346e2a14a1e7fca91a.tar.gz
spark-c618ccdbe9ac103dfa3182346e2a14a1e7fca91a.tar.bz2
spark-c618ccdbe9ac103dfa3182346e2a14a1e7fca91a.zip
[SPARK-19464][BUILD][HOTFIX] run-tests should use hadoop2.6
## What changes were proposed in this pull request? After SPARK-19464, **SparkPullRequestBuilder** fails because it still tries to use hadoop2.3. **BEFORE** https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72595/console ``` ======================================================================== Building Spark ======================================================================== [error] Could not find hadoop2.3 in the list. Valid options are ['hadoop2.6', 'hadoop2.7'] Attempting to post to Github... > Post successful. ``` **AFTER** https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/72595/console ``` ======================================================================== Building Spark ======================================================================== [info] Building Spark (w/Hive 1.2.1) using SBT with these arguments: -Phadoop-2.6 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive test:package streaming-kafka-0-8-assembly/assembly streaming-flume-assembly/assembly streaming-kinesis-asl-assembly/assembly Using /usr/java/jdk1.8.0_60 as default JAVA_HOME. Note, this will be overridden by -java-home if it is set. ``` ## How was this patch tested? Pass the existing test. Author: Dongjoon Hyun <dongjoon@apache.org> Closes #16858 from dongjoon-hyun/hotfix_run-tests.
Diffstat (limited to 'dev/run-tests-jenkins.py')
-rwxr-xr-xdev/run-tests-jenkins.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/dev/run-tests-jenkins.py b/dev/run-tests-jenkins.py
index bb286af763..53061bc947 100755
--- a/dev/run-tests-jenkins.py
+++ b/dev/run-tests-jenkins.py
@@ -165,12 +165,6 @@ def main():
if "test-maven" in ghprb_pull_title:
os.environ["AMPLAB_JENKINS_BUILD_TOOL"] = "maven"
# Switch the Hadoop profile based on the PR title:
- if "test-hadoop2.2" in ghprb_pull_title:
- os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.2"
- if "test-hadoop2.3" in ghprb_pull_title:
- os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.3"
- if "test-hadoop2.4" in ghprb_pull_title:
- os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.4"
if "test-hadoop2.6" in ghprb_pull_title:
os.environ["AMPLAB_JENKINS_BUILD_PROFILE"] = "hadoop2.6"
if "test-hadoop2.7" in ghprb_pull_title: