Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/22003#discussion_r207985833
--- Diff: sql/core/pom.xml ---
@@ -90,39 +90,11 @@
<groupId>org.apache.orc</groupId>
<artifactId>orc-core</artifactId>
<classifier>${orc.classifier}</classifier>
- <exclusions>
- <exclusion>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-hdfs</artifactId>
- </exclusion>
- <!--
- orc-core:nohive doesn't have this dependency, but we adds this
to prevent
- sbt from getting confused.
- -->
- <exclusion>
- <groupId>org.apache.hive</groupId>
- <artifactId>hive-storage-api</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.orc</groupId>
<artifactId>orc-mapreduce</artifactId>
<classifier>${orc.classifier}</classifier>
- <exclusions>
- <exclusion>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-hdfs</artifactId>
- </exclusion>
- <!--
- orc-core:nohive doesn't have this dependency, but we adds this
to prevent
- sbt from getting confused.
- -->
- <exclusion>
- <groupId>org.apache.hive</groupId>
- <artifactId>hive-storage-api</artifactId>
- </exclusion>
- </exclusions>
--- End diff --
It was because it overrode and simply ignored the parent's exclusions. To
publish locally, you can use maven install like `build/mvn -T C1 -DskipTests
clean install`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]