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

Fix signature issue for some underfs modules #18494

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

secfree
Copy link
Contributor

@secfree secfree commented Jan 23, 2024

What changes are proposed in this pull request?

Fix signature issues for some underfs modules

Why are the changes needed?

I encountered the following exceptions while executing "alluxio-fuse mount" with the latest version 308-SNAPSHOT

2024-01-22 16:50:28,000 WARN  ... - Failed to load jar .../lib/alluxio-underfs-abfs-308-SNAPSHOT.jar: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
2024-01-22 16:50:28,013 WARN  ... - Failed to load jar .../lib/alluxio-underfs-hadoop-ozone-1.2.1-308-SNAPSHOT.jar: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
2024-01-22 16:50:28,023 WARN  ... - Failed to load jar .../lib/alluxio-underfs-wasb-308-SNAPSHOT.jar: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

and checking one of the jar with jarsigner also has the same issue

$ jarsigner -verify .../alluxio-underfs-hadoop-ozone-1.2.1-308-SNAPSHOT.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

After some tests, it seems that if the child module also defines a filter of "maven-shade-plugin", then the filter defined in its parent module does not take effect. So I add the needed "exclude" items to each child module as well, and it resolved the issue I encountered.

Does this PR introduce any user facing changes?

NO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant