spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gammelsæter <martingammelsae...@gmail.com>
Subject Disabling SparkContext WebUI on port 4040, accessing information programatically?
Date Tue, 08 Jul 2014 12:58:58 GMT
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

Mime
View raw message