You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2015/06/04 03:09:17 UTC
spark git commit: [BUILD] Use right branch when checking against Hive
(1.4)
Repository: spark
Updated Branches:
refs/heads/branch-1.4 96f71b105 -> 584a2ba21
[BUILD] Use right branch when checking against Hive (1.4)
For branch-1.4.
This is identical to #6629 and is strictly not necessary. I'm opening this as a PR since it changes Jenkins test behavior and I want to test it out here.
Author: Andrew Or <an...@databricks.com>
Closes #6630 from andrewor14/build-check-hive-1.4 and squashes the following commits:
186ec65 [Andrew Or] [BUILD] Use right branch when checking against Hive
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/584a2ba2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/584a2ba2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/584a2ba2
Branch: refs/heads/branch-1.4
Commit: 584a2ba21cd176af0c7b6eb51acf5f2ffe0d332c
Parents: 96f71b1
Author: Andrew Or <an...@databricks.com>
Authored: Wed Jun 3 18:09:14 2015 -0700
Committer: Andrew Or <an...@databricks.com>
Committed: Wed Jun 3 18:09:14 2015 -0700
----------------------------------------------------------------------
dev/run-tests | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/584a2ba2/dev/run-tests
----------------------------------------------------------------------
diff --git a/dev/run-tests b/dev/run-tests
index ba1eee6..d38b4e1 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -80,18 +80,19 @@ export SBT_MAVEN_PROFILES_ARGS="$SBT_MAVEN_PROFILES_ARGS -Pkinesis-asl"
# Only run Hive tests if there are SQL changes.
# Partial solution for SPARK-1455.
if [ -n "$AMPLAB_JENKINS" ]; then
- git fetch origin master:master
+ target_branch="$ghprbTargetBranch"
+ git fetch origin "$target_branch":"$target_branch"
# AMP_JENKINS_PRB indicates if the current build is a pull request build.
if [ -n "$AMP_JENKINS_PRB" ]; then
# It is a pull request build.
sql_diffs=$(
- git diff --name-only master \
+ git diff --name-only "$target_branch" \
| grep -e "^sql/" -e "^bin/spark-sql" -e "^sbin/start-thriftserver.sh"
)
non_sql_diffs=$(
- git diff --name-only master \
+ git diff --name-only "$target_branch" \
| grep -v -e "^sql/" -e "^bin/spark-sql" -e "^sbin/start-thriftserver.sh"
)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org