aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests
diff options
context:
space:
mode:
authorCheng Lian <lian.cs.zju@gmail.com>2014-08-20 12:57:39 -0700
committerMichael Armbrust <michael@databricks.com>2014-08-20 12:57:39 -0700
commitcf46e725814f575ebb417e80d2571bccc6dac4a7 (patch)
tree451e1a9cae622ce185e9e1328a8eb49daea2fb4b /dev/run-tests
parentceb19830b88486faa87ff41e18d03ede713a73cc (diff)
downloadspark-cf46e725814f575ebb417e80d2571bccc6dac4a7.tar.gz
spark-cf46e725814f575ebb417e80d2571bccc6dac4a7.tar.bz2
spark-cf46e725814f575ebb417e80d2571bccc6dac4a7.zip
[SPARK-3126][SPARK-3127][SQL] Fixed HiveThriftServer2Suite
This PR fixes two issues: 1. Fixes wrongly quoted command line option in `HiveThriftServer2Suite` that makes test cases hang until timeout. 1. Asks `dev/run-test` to run Spark SQL tests when `bin/spark-sql` and/or `sbin/start-thriftserver.sh` are modified. Author: Cheng Lian <lian.cs.zju@gmail.com> Closes #2036 from liancheng/fix-thriftserver-test and squashes the following commits: f38c4eb [Cheng Lian] Fixed the same quotation issue in CliSuite 26b82a0 [Cheng Lian] Run SQL tests when dff contains bin/spark-sql and/or sbin/start-thriftserver.sh a87f83d [Cheng Lian] Extended timeout e5aa31a [Cheng Lian] Fixed metastore JDBC URI quotation
Diffstat (limited to 'dev/run-tests')
-rwxr-xr-xdev/run-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/run-tests b/dev/run-tests
index 20a67cfb36..d751961605 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -55,7 +55,7 @@ JAVA_VERSION=$($java_cmd -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*
# Partial solution for SPARK-1455. Only run Hive tests if there are sql changes.
if [ -n "$AMPLAB_JENKINS" ]; then
git fetch origin master:master
- diffs=`git diff --name-only master | grep "^sql/"`
+ diffs=`git diff --name-only master | grep "^\(sql/\)\|\(bin/spark-sql\)\|\(sbin/start-thriftserver.sh\)"`
if [ -n "$diffs" ]; then
echo "Detected changes in SQL. Will run Hive test suite."
_RUN_SQL_TESTS=true