Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-28211: Restore hive-exec-core jar #5209

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions ql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,28 @@
<goal>test-jar</goal>
</goals>
</execution>
<execution>
<!-- Restoring Hive exec core jar: HIVE-26220. The core jar is being used by Spark, oozie and trino
projects as a result we will need to restore this to prevent downstream projects from breaking.
This 'execution' will produce a hive-exec-$version-core.jar which has
all classes from ql module, i.e. the same contents as hive-exec-$version.jar would
have had if there was shade plugin below. The way shade was configured since 0.13, is
to override the default jar for ql module with the saded one but keep the same name.
In other words, ql modules producesd a single uber jar under the module's coordinates,
i.e. w/o a classifier. We also need a slim jar that only has classes from ql. This
jar will now be with a 'core' classifier to ensure that prior behavior is preserved.
It would have been better to have a slim jar called hive-exec-$version.jar and a fat
jar called hive-exec-$version-shaded.jar but doing this now will cause backwards compat.
issues-->
<id>core-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>core</classifier>
</configuration>
</execution>
<execution>
<id>fallbackauthorizer-jar</id>
<phase>package</phase>
Expand Down
Loading