Closed alexnaspo closed 6 years ago
I'm unable to reproduce your issue. It looks a lot like SPARK-22365, which seems to be similar to SPARK-15854. I suspect you have something on your classpath that conflicts with a Spark dependency. Are there any stacktraces earlier in your log?
In particular, as suggested by the stacktrace shown in SPARK-15854, it you might have something on the classpath that is providing a competing implementation of the javax.ws.rs.core.Application
class that doesn't have the expected getProperties()
method. Spark expects to get this class from:
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0.1</version>
</dependency>
For one commenter on SPARK-22365 it was a jsr311-api-1.1.1.jar
, but there seem to be many other maven artifacts containing a class with that name. The end of this blog post seems to show a similar conflict trying to run the history server with a Jersey jar on the classpath.
I hope this helps.
When running a spark streaming application on nomad 2.2.0 the executor page does not display. When running the same application on 2.1.0, it displays as expected.
Upon inspecting the network calls, it seems the
<service>/api/v1/applications
returns the following exception.