Skip to content

Commit 695c8a2

Browse files
preecetmarmbrus
authored andcommitted
[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. (cherry picked from commit 46f25c2) Signed-off-by: Michael Armbrust <michael@databricks.com>
1 parent cf4e62e commit 695c8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private[hive] object IsolatedClientLoader extends Logging {
9797
hadoopVersion: String,
9898
ivyPath: Option[String]): Seq[URL] = {
9999
val hiveArtifacts = version.extraDeps ++
100-
Seq("hive-metastore", "hive-exec", "hive-common", "hive-serde")
100+
Seq("hive-metastore", "hive-exec", "hive-common", "hive-serde", "hive-cli")
101101
.map(a => s"org.apache.hive:$a:${version.fullVersion}") ++
102102
Seq("com.google.guava:guava:14.0.1",
103103
s"org.apache.hadoop:hadoop-client:$hadoopVersion")

0 commit comments

Comments
 (0)