Github user mgummelt commented on a diff in the pull request:
https://github.com/apache/spark/pull/17665#discussion_r112338329
--- Diff: core/pom.xml ---
@@ -357,6 +357,29 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-crypto</artifactId>
</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>
--- End diff --
Here's the output from `./build/sbt compile` if I add the "test" scope:
```
[warn] Note: Unresolved dependencies path:
[warn] org.pentaho:pentaho-aggdesigner-algorithm:5.1.5-jhyde
[warn] +- org.apache.calcite:calcite-core:1.2.0-incubating
((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76)
[warn] +- org.spark-project.hive:hive-exec:1.2.1.spark2
((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76)
[warn] +- org.apache.spark:spark-core_2.11:2.2.0-SNAPSHOT
((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76)
[warn] +-
org.apache.spark:spark-catalyst_2.11:2.2.0-SNAPSHOT
((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76)
[warn] +- org.apache.spark:spark-sql_2.11:2.2.0-SNAPSHOT
((com.typesafe.sbt.pom.MavenHelper) MavenHelper.scala#L76)
[warn] +- org.apache.spark:spark-hive_2.11:2.2.0-SNAPSHOT
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]