Github user zhzhan commented on a diff in the pull request:
https://github.com/apache/spark/pull/2241#discussion_r17833159
--- Diff: sql/hive/pom.xml ---
@@ -119,6 +83,74 @@
<profiles>
<profile>
+ <id>hive-default</id>
+ <activation>
+ <property>
+ <name>!hive.version</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.twitter</groupId>
+ <artifactId>parquet-hive-bundle</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.spark-project.hive</groupId>
--- End diff --
For hive-0.12, because there is version conflicts in protobuf, the hive jar
has to be shaded. It is OK for hive-0.13.1, but overall the problem has to be
fixed in hive. I was told that the packaging issue may be fixed in hive 0.14.
Because currently the primary hive version supported is hive 0.12, which use
customized jar. After everything is sorted out, and spark moves to support more
latest hive version, the pom should be changed accordingly and stabilized in
this part. The current solution is not perfect, but it is hard to find a better
way to solve this problem in one shot.
---
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]