do you control your cluster and spark deployment? if so, you can try to rebuild with jetty 9.x
On Tue, Jul 8, 2014 at 9:39 AM, Martin Gammelsæter < martingammelsae...@gmail.com> wrote: > Digging a bit more I see that there is yet another jetty instance that > is causing the problem, namely the BroadcastManager has one. I guess > this one isn't very wise to disable... It might very well be that the > WebUI is a problem as well, but I guess the code doesn't get far > enough. Any ideas on how to solve this? Spark seems to use jetty > 8.1.14, while dropwizard uses jetty 9.0.7, so that might be the source > of the problem. Any ideas? > > On Tue, Jul 8, 2014 at 2:58 PM, Martin Gammelsæter > <martingammelsae...@gmail.com> wrote: > > Hi! > > > > I am building a web frontend for a Spark app, allowing users to input > > sql/hql and get results back. When starting a SparkContext from within > > my server code (using jetty/dropwizard) I get the error > > > > java.lang.NoSuchMethodError: > > org.eclipse.jetty.server.AbstractConnector: method <init>()V not found > > > > when Spark tries to fire up its own jetty server. This does not happen > > when running the same code without my web server. This is probably > > fixable somehow(?) but I'd like to disable the webUI as I don't need > > it, and ideally I would like to access that information > > programatically instead, allowing me to embed it in my own web > > application. > > > > Is this possible? > > > > -- > > Best regards, > > Martin Gammelsæter > > > > -- > Mvh. > Martin Gammelsæter > 92209139 >