aboutsummaryrefslogtreecommitdiff
path: root/yarn/pom.xml
diff options
context:
space:
mode:
authorSteve Loughran <stevel@hortonworks.com>2015-10-31 18:23:15 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2015-10-31 18:23:15 -0700
commit40d3c6797a3dfd037eb69b2bcd336d8544deddf5 (patch)
tree39243aae057c6d6314861579e536773e952cf6a9 /yarn/pom.xml
parentfc27dfbf0f8d3f96c70e27d88f7d0316c97ddb1e (diff)
downloadspark-40d3c6797a3dfd037eb69b2bcd336d8544deddf5.tar.gz
spark-40d3c6797a3dfd037eb69b2bcd336d8544deddf5.tar.bz2
spark-40d3c6797a3dfd037eb69b2bcd336d8544deddf5.zip
[SPARK-11265][YARN] YarnClient can't get tokens to talk to Hive 1.2.1 in a secure cluster
This is a fix for SPARK-11265; the introspection code to get Hive delegation tokens failing on Spark 1.5.1+, due to changes in the Hive codebase Author: Steve Loughran <stevel@hortonworks.com> Closes #9232 from steveloughran/stevel/patches/SPARK-11265-hive-tokens.
Diffstat (limited to 'yarn/pom.xml')
-rw-r--r--yarn/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 3eadacba13..989b820bec 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -162,6 +162,31 @@
<artifactId>jersey-server</artifactId>
<scope>test</scope>
</dependency>
+
+ <!--
+ Testing Hive reflection needs hive on the test classpath only.
+ It doesn't need the spark hive modules, so the -Phive flag is not checked.
+ -->
+ <dependency>
+ <groupId>${hive.group}</groupId>
+ <artifactId>hive-exec</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${hive.group}</groupId>
+ <artifactId>hive-metastore</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libthrift</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libfb303</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>