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-28053: Incorrect shading configuration for beeline jar-with-dependencies #5056

Closed
wants to merge 1 commit into from

Conversation

zabetak
Copy link
Contributor

@zabetak zabetak commented Feb 1, 2024

What changes were proposed in this pull request and why?

  1. Remove descriptorRefs cause it is not valid configuration parameter for maven-shade-plugin and has no effect on the build.
  2. Set correct mainClass in the MANIFEST file making the jar runnable without extra options and avoid errors due to missing jmh class.

Does this PR introduce any user-facing change?

  1. Developers will not see errors when browsing the respective pom.xml in the IDE
  2. java -jar jar-with-dependencies now works and launches correctly beeline

Is the change a dependency upgrade?

No

How was this patch tested?

Build and then run:

cd beeline && java -jar target/jar-with-dependencies

…ndencies

1. Remove descriptorRefs cause it is not valid configuration parameter for maven-shade-plugin and has no effect on the build.
2. Set correct mainClass in the MANIFEST file making the jar runnable without extra options and avoid errors due to missing jmh class.
Copy link
Member

@asolimando asolimando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

sonarcloud bot commented Feb 1, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@zabetak zabetak closed this in 0a133b3 Feb 2, 2024
@zabetak zabetak deleted the HIVE-28053 branch February 2, 2024 11:31
tarak271 pushed a commit to tarak271/hive-1 that referenced this pull request Feb 9, 2024
…ndencies (Stamatis Zampetakis reviewed by Alessandro Solimando, Attila Turoczy)

1. Remove descriptorRefs cause it is not valid configuration parameter for maven-shade-plugin and has no effect on the build.
2. Set correct mainClass in the MANIFEST file making the jar runnable without extra options and avoid errors due to missing jmh class.

Close apache#5056
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Mar 7, 2024
…ndencies (Stamatis Zampetakis reviewed by Alessandro Solimando, Attila Turoczy)

1. Remove descriptorRefs cause it is not valid configuration parameter for maven-shade-plugin and has no effect on the build.
2. Set correct mainClass in the MANIFEST file making the jar runnable without extra options and avoid errors due to missing jmh class.

Close apache#5056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants