aboutsummaryrefslogtreecommitdiff
path: root/sql/hive-thriftserver/pom.xml
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2015-08-19 11:21:46 +0800
committerCheng Lian <lian@databricks.com>2015-08-19 11:21:46 +0800
commita5b5b936596ceb45f5f5b68bf1d6368534fb9470 (patch)
tree714e05b09611e74b87d73bd2f32b2cc648702944 /sql/hive-thriftserver/pom.xml
parent90273eff9604439a5a5853077e232d34555c67d7 (diff)
downloadspark-a5b5b936596ceb45f5f5b68bf1d6368534fb9470.tar.gz
spark-a5b5b936596ceb45f5f5b68bf1d6368534fb9470.tar.bz2
spark-a5b5b936596ceb45f5f5b68bf1d6368534fb9470.zip
[SPARK-9939] [SQL] Resorts to Java process API in CliSuite, HiveSparkSubmitSuite and HiveThriftServer2 test suites
Scala process API has a known bug ([SI-8768] [1]), which may be the reason why several test suites which fork sub-processes are flaky. This PR replaces Scala process API with Java process API in `CliSuite`, `HiveSparkSubmitSuite`, and `HiveThriftServer2` related test suites to see whether it fix these flaky tests. [1]: https://issues.scala-lang.org/browse/SI-8768 Author: Cheng Lian <lian@databricks.com> Closes #8168 from liancheng/spark-9939/use-java-process-api.
Diffstat (limited to 'sql/hive-thriftserver/pom.xml')
-rw-r--r--sql/hive-thriftserver/pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/hive-thriftserver/pom.xml b/sql/hive-thriftserver/pom.xml
index 2dfbcb2425..3566c87dd2 100644
--- a/sql/hive-thriftserver/pom.xml
+++ b/sql/hive-thriftserver/pom.xml
@@ -86,6 +86,13 @@
<artifactId>selenium-java</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.spark</groupId>
+ <artifactId>spark-sql_${scala.binary.version}</artifactId>
+ <type>test-jar</type>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>