aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Preece <tim.preece.in.oz@gmail.com>2016-03-07 15:23:07 -0800
committerMichael Armbrust <michael@databricks.com>2016-03-07 15:23:07 -0800
commit46f25c241385fe4f1fff42ac4a1b6e652deb2d02 (patch)
treef6d171b3febd2d8dedfebe61a16a016463f734f3
parente720dda42e806229ccfd970055c7b8a93eb447bf (diff)
downloadspark-46f25c241385fe4f1fff42ac4a1b6e652deb2d02.tar.gz
spark-46f25c241385fe4f1fff42ac4a1b6e652deb2d02.tar.bz2
spark-46f25c241385fe4f1fff42ac4a1b6e652deb2d02.zip
[SPARK-13648] Add Hive Cli to classes for isolated classloader
## What changes were proposed in this pull request? Adding the hive-cli classes to the classloader ## How was this patch tested? The hive Versionssuite tests were run This is my original work and I license the work to the project under the project's open source license. Author: Tim Preece <tim.preece.in.oz@gmail.com> Closes #11495 from preecet/master.
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
index dca7396ee1..1653371d89 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
@@ -97,7 +97,7 @@ private[hive] object IsolatedClientLoader extends Logging {
hadoopVersion: String,
ivyPath: Option[String]): Seq[URL] = {
val hiveArtifacts = version.extraDeps ++
- Seq("hive-metastore", "hive-exec", "hive-common", "hive-serde")
+ Seq("hive-metastore", "hive-exec", "hive-common", "hive-serde", "hive-cli")
.map(a => s"org.apache.hive:$a:${version.fullVersion}") ++
Seq("com.google.guava:guava:14.0.1",
s"org.apache.hadoop:hadoop-client:$hadoopVersion")