question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Investigate Signer mismatch issue for microsoft-spark-*.jar

See original GitHub issue

Is your feature request related to a problem? Please describe. My company uses Spark on Nomad to handle deployment and running of our Spark programs. I was recently tasked with evaluating whether or not it would be possible to use .NET Spark in conjunction with Spark on Nomad. After making sure that I am able to run the basic Scala examples, I tried to switch from the example .jar to microsoft-spark-2.4.x-0.3.0.jar, but got errors from the driver program.

Our specific setup for Spark on Nomad is to use Docker images based off of hashicorp/spark-nomad running in cluster mode. My idea for using .NET Spark is to replace the --class org.apache.spark.examples.SparkPi with --class org.apache.spark.deploy.DotnetRunner, and local:/opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar with local:/app/microsoft-spark-2.4.x-0.3.0.jar (we have patched versions of the docker image with Spark updated to 2.4.0). When I tried this, I immediately get this exception:

java.lang.SecurityException: class "org.apache.spark.deploy.DotnetRunner"'s signer information does not match signer information of other classes in the same package

This leads me to believe that it should be possible to get this setup running, but I don’t have enough knowledge of the JVM/Spark side of things to know where to begin. I also noticed that there is a separate worker used in the other deployment methods to translate the .NET code for the executors, I’m not sure how that should be done.

Describe the solution you’d like Ideally all I would have to do is replace --class org.apache.spark.examples.SparkPi with --class org.apache.spark.deploy.DotnetRunner, and local:/opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar with local:/app/microsoft-spark-2.4.x-0.3.0.jar

Describe alternatives you’ve considered We do not have the option of using a different orchestrator, so we would have to use normal Spark with Scala instead of this library

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
imback82commented, Jul 2, 2019

Cool. I will handle changing the title.

1reaction
halfbrocommented, Jul 2, 2019

I built the jar from source, and I can confirm that this solved our issues.

Should I change the PR to a bug report and change the title to something more fitting (ie [BUG]: java.lang.SecurityException during startup)? Or just leave it as is?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java SecurityException: signer information does not match
This happens when classes belonging to the same package are loaded from different JAR files, and those JAR files have signatures signed with ......
Read more >
i am getting this issue please guide me urgently, The install ...
Random dialogue box opens without trying to open a program. Except mine is: the install of uttA7D5.tmp failed (Signer certificate mismatch).
Read more >
The install of Temp\utt6E80.tmp failed. (Signer certificate ...
This issue seems to be a malfunctioned uTorrent update. To resolve it, you can download the uTorrent client again and install ...
Read more >
"Signer certificate mismatch" error coming from temp files ...
I'm running Win 10 with an i5 10500 CPU, the aforementioned upgraded GPU, and have no clue as to why the problem has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found