Error getting response from spark driver rest APIs : java.lang.IncompatibleClassChangeError: Implementing class

2015-12-16 Thread ihavethepotential
Hi all, I am trying to get the job details for my spark application using a REST call to the driver API. I am making a GET request to the following URI /api/v1/applications/socketEs2/jobs But getting the following exception: 015-12-16 19:46:28 qtp1912556493-56 [WARN ] ServletHandler - /api/v1/

How to enable MetricsServlet sink in Spark 1.5.0?

2015-11-16 Thread ihavethepotential
Hi all, I am trying to get the metrics using the MetricsServlet sink(that I guess is enabled by default) as mentioned in the Spark documentation: "5. MetricsServlet is added by default as a sink in master, worker and client # driver, you can send http request "/metrics/json" to get a snapshot of