flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Sammer <esam...@cloudera.com>
Subject Re: Starting to document metrics monitoring system in wiki.
Date Tue, 26 Jul 2011 02:38:12 GMT
REST and JSON APIs already exist (in a deviously undocumented form).
Not sure about JSONP although I don't see a reason not to do as you
ask. File a JIRA maybe?

On Mon, Jul 25, 2011 at 7:34 PM, Dan Everton <dan@iocaine.org> wrote:
> On Mon, 25 Jul 2011 19:14 -0700, "Eric Sammer" <esammer@cloudera.com>
> wrote:
>> Mike:
>>
>> Are four letter words preferable to, say, REST? I think REST is nicer
>> (maybe with 4LW URLs and responses rather than JSON) from an
>> accessibility point of view. I don't see a reason we couldn't do it,
>
> If you're going to go REST and JSON please make sure you support JSONP
> for the output. Same origin policy makes building web based dashboards
> difficult without this.
>
> Jersey supports this if you use the JSONWithPadding response object.
>
> Cheers,
> Dan
>
>



-- 
Eric Sammer
twitter: esammer
data: www.cloudera.com

Mime
View raw message