Invalid signature file digest for Manifest main attributes

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
posted @ 2016-11-01 17:53  梅里之巅  阅读(1468)  评论(0编辑  收藏  举报