accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Thrift as Public API?
Date Thu, 04 Jun 2015 17:04:08 GMT
Agreed.

I think in the case of GetMasterStats, we don't have any other way to 
actually do it via public API now. It would be nice to have something in 
the future, but that wouldn't help in the present.

Adam Fuchs wrote:
> IMO we do not. The thrift interface that we currently have is not easily
> consumable (you have to understand a lot about the metadata and cluster
> layout), and we don't include it in SemVer. Additional features like
> GetMasterStats should be plumbed through to the Java API if we want to
> expose them.
>
> Adam
> On Jun 4, 2015 12:31 PM, "Mike Drob"<madrob@cloudera.com>  wrote:
>
>> Do we intend for our thrift RPC implementation to be consumable as public
>> API?
>>
>> This question is inspired by recent "How to get the Accumulo statistic
>> data" thread over on user@, where we point a user at the GetMasterStats
>> class.
>>
>> How stable is that in theory? I understand that in practice it probably
>> doesn't change much, but I also am not aware that we do anything during
>> upgrade and compatibility testing to ensure this.
>>
>> Thoughts?
>>
>> Mike
>>
>

Mime
View raw message