Skip to content

Instantly share code, notes, and snippets.

@hkhamm
Last active October 21, 2023 16:33
Show Gist options
  • Save hkhamm/88923412992d284580ea to your computer and use it in GitHub Desktop.
Save hkhamm/88923412992d284580ea to your computer and use it in GitHub Desktop.
Solving a Spark Invalid signature file digest for Manifest main attributes error

##Solving a Spark error: Invalid signature file digest for Manifest main attributes

When using spark-submit to run a jar, you may encounter this error:

Invalid signature file digest for Manifest main attributes

The error occurs when one of the included libraries in the jar's META-INF directory has a bad signature.

Solve the error with this command:

zip -d <jar file name>.jar META-INF/*.RSA META-INF/*.DSA META-INF/*.SF
@DFGontlyull
Copy link

wow.. thank you!

@yaswanth009
Copy link

How can I delete from from Intellij itself instead of doing zip delete from Linux

@jpv
Copy link

jpv commented Feb 23, 2020

still a hero in 2020 ! Thanks..

@skyleaworlder
Copy link

still a hero in 2022. lol.

@AndnixSH
Copy link

is there a way to do this within IntelliJ IDE?

@pcardinal
Copy link

Merci...😁😁😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment