RE: Can API be an alternative for MBeans?

2018-02-22 Thread Jacques-Henri Berthemet
I didn't know about it, I'm now witching it, thank you!

--
Jacques-Henri Berthemet

-Original Message-
From: Murukesh Mohanan [mailto:murukesh.moha...@gmail.com] 
Sent: Thursday, February 22, 2018 10:08 AM
To: dev@cassandra.apache.org
Subject: Re: Can API be an alternative for MBeans?

You might want to keep an eye on
https://issues.apache.org/jira/browse/CASSANDRA-7622 (I suspect you might 
already be doing so, but just in case...)

On Thu, 22 Feb 2018 at 17:57 Jacques-Henri Berthemet < 
jacques-henri.berthe...@genesys.com> wrote:

> Hi,
>
> What would be great would be to be able to query stats using CQL on 
> some "virtual" systems tables. Exposing a REST API would be another 
> endpoint to secure.
>
> --
> Jacques-Henri Berthemet
>
> -Original Message-
> From: Nicolas Guyomar [mailto:nicolas.guyo...@gmail.com]
> Sent: Thursday, February 22, 2018 9:51 AM
> To: dev@cassandra.apache.org
> Subject: Re: Can API be an alternative for MBeans?
>
> Hi,
>
> Jolokia 'for instance) is making exposing MBean with Http so easy 
> (with "just"  a simple jar addition) that I think this is not really 
> needed within Cassandra
>
>
> On 22 February 2018 at 09:10, Venkata Hari Krishna Nukala < 
> n.v.harikrishna.apa...@gmail.com> wrote:
>
> > Hi,
> >
> > I saw lots of information exposed through MBeans (like status, 
> > cfstats etc...). I feel exposing them like as API has few advantages 
> > like, it is more open (different types of clients can use) and more 
> > expressible for request and response.  Does the option of exposing 
> > such functionality through  API (REST) was considered at any point of time?
> > Are there any advantages or compelling reasons to stick with MBeans?
> >
> > Thanks!
> >
>
-- 

Murukesh Mohanan,
Yahoo! Japan


Re: Can API be an alternative for MBeans?

2018-02-22 Thread Murukesh Mohanan
You might want to keep an eye on
https://issues.apache.org/jira/browse/CASSANDRA-7622 (I suspect you might
already be doing so, but just in case...)

On Thu, 22 Feb 2018 at 17:57 Jacques-Henri Berthemet <
jacques-henri.berthe...@genesys.com> wrote:

> Hi,
>
> What would be great would be to be able to query stats using CQL on some
> "virtual" systems tables. Exposing a REST API would be another endpoint to
> secure.
>
> --
> Jacques-Henri Berthemet
>
> -Original Message-
> From: Nicolas Guyomar [mailto:nicolas.guyo...@gmail.com]
> Sent: Thursday, February 22, 2018 9:51 AM
> To: dev@cassandra.apache.org
> Subject: Re: Can API be an alternative for MBeans?
>
> Hi,
>
> Jolokia 'for instance) is making exposing MBean with Http so easy (with
> "just"  a simple jar addition) that I think this is not really needed
> within Cassandra
>
>
> On 22 February 2018 at 09:10, Venkata Hari Krishna Nukala <
> n.v.harikrishna.apa...@gmail.com> wrote:
>
> > Hi,
> >
> > I saw lots of information exposed through MBeans (like status, cfstats
> > etc...). I feel exposing them like as API has few advantages like, it
> > is more open (different types of clients can use) and more expressible
> > for request and response.  Does the option of exposing such
> > functionality through  API (REST) was considered at any point of time?
> > Are there any advantages or compelling reasons to stick with MBeans?
> >
> > Thanks!
> >
>
-- 

Murukesh Mohanan,
Yahoo! Japan


RE: Can API be an alternative for MBeans?

2018-02-22 Thread Jacques-Henri Berthemet
Hi,

What would be great would be to be able to query stats using CQL on some 
"virtual" systems tables. Exposing a REST API would be another endpoint to 
secure.

--
Jacques-Henri Berthemet

-Original Message-
From: Nicolas Guyomar [mailto:nicolas.guyo...@gmail.com] 
Sent: Thursday, February 22, 2018 9:51 AM
To: dev@cassandra.apache.org
Subject: Re: Can API be an alternative for MBeans?

Hi,

Jolokia 'for instance) is making exposing MBean with Http so easy (with "just"  
a simple jar addition) that I think this is not really needed within Cassandra


On 22 February 2018 at 09:10, Venkata Hari Krishna Nukala < 
n.v.harikrishna.apa...@gmail.com> wrote:

> Hi,
>
> I saw lots of information exposed through MBeans (like status, cfstats 
> etc...). I feel exposing them like as API has few advantages like, it 
> is more open (different types of clients can use) and more expressible 
> for request and response.  Does the option of exposing such 
> functionality through  API (REST) was considered at any point of time? 
> Are there any advantages or compelling reasons to stick with MBeans?
>
> Thanks!
>


Re: Can API be an alternative for MBeans?

2018-02-22 Thread Nicolas Guyomar
Hi,

Jolokia 'for instance) is making exposing MBean with Http so easy (with
"just"  a simple jar addition) that I think this is not really needed
within Cassandra


On 22 February 2018 at 09:10, Venkata Hari Krishna Nukala <
n.v.harikrishna.apa...@gmail.com> wrote:

> Hi,
>
> I saw lots of information exposed through MBeans (like status, cfstats
> etc...). I feel exposing them like as API has few advantages like, it is
> more open (different types of clients can use) and more expressible for
> request and response.  Does the option of exposing such functionality
> through  API (REST) was considered at any point of time? Are there any
> advantages or compelling reasons to stick with MBeans?
>
> Thanks!
>