Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/18640#discussion_r133134410
--- Diff: pom.xml ---
@@ -1678,6 +1681,44 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.apache.orc</groupId>
+ <artifactId>orc-core</artifactId>
+ <version>${orc.version}</version>
+ <classifier>${orc.classifier}</classifier>
+ <scope>${orc.deps.scope}</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.hive</groupId>
+ <artifactId>hive-storage-api</artifactId>
--- End diff --
Thank you so much for review, @cloud-fan .
- The original `orc-core-1.4.0.jar` has `hive-storage-api` dependency.
([Maven Repo](https://mvnrepository.com/artifact/org.apache.orc/orc-core/1.4.))
- `orc-core-1.4.0-nohive.jar` is a shaded jar file including
`hive-storage-api` under `org.apache.orc` namespace.
`orc-core-1.4.0-nohive.jar` is designed for users and apps who don't want
to depend on (or consider) `hive`. `nohive` is a classifier for this purpose.
This PR uses `orc-core-1.4.0-nohive` only. To avoid Maven confusion, this
exclution makes it sure by removing the `hive-storage-api` dependency
explicitly from `orc-core` artifact.
---
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]