Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvillafuertem/f69dcb1aaef2e6d0cf5ea9565890283c to your computer and use it in GitHub Desktop.
Save mvillafuertem/f69dcb1aaef2e6d0cf5ea9565890283c 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment