Re: JSON Endpoints

2013-08-21 Thread Gordon Hamilton
s/spark/blob/branch-0.7/core/src/main/scala/spark/deploy/JsonProtocol.scala > > For 0.8 this will be more cleanly specified. > > - Patrick > > > On Tue, Aug 20, 2013 at 4:25 PM, Gordon Hamilton < > gordon.hamil...@wandisco.com> wrote: > >> Hi Patrick, tha

Re: JSON Endpoints

2013-08-20 Thread Gordon Hamilton
Thanks, Gordon On Tuesday, August 20, 2013, Patrick Wendell wrote: > In 0.7.X these are actually of the format /app?format=json. In 0.8.X they > will be the format you described here "/app/json". Does that work for you? > > - Patrick > > > On Tue, Aug 20, 201

JSON Endpoints

2013-08-20 Thread Gordon Hamilton
Hi guys, I'm new to Spark, so apologies if I've missed something obvious. I'm investigating the possibility of using Spark from an external UI, and see that Spark 0.7.0 introduced JSON endpoints into the UI which allows Spark's state to be queried. I see in MasterWebUI.scala that "/json" and "