accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: MasterClient usage with 1.6 API
Date Wed, 15 Jul 2015 13:59:36 GMT
Take a look at the class GetMasterStats in 1.6.

Remember, this is not in the public API, and it will change in the future.

-Eric


On Thu, Jul 9, 2015 at 10:48 AM, Rukshan Chathuranga <rcrukshan17@gmail.com>
wrote:

> Hi,
>
> Does anyone know how use these code using Accumulo 1.6 APIs,
>
> AccumuloServerContext context = new AccumuloServerContext(new
> ServerConfigurationFactory(inst));
> client = MasterClient.getConnectionWithRetry(context);
> masterMonitorInfo =
> client.getMasterStats(Tracer.traceInfo(),conn.securityOperations().context.rpcCreds());
>
> I used to do this with 1.7 but i need it using 1.6 Apis now.
>
> Thanks and Regards.
>
> *Rukshan Chathuranga.*
>
> *Department Of Computer Science & Engineering,*
>
> *Faculty Of Engineering,*
> *University Of Moratuwa. **Sri Lanka.*
>
> *WEB: http://www.rukspot.com/ <http://rukspot.com/>*
>
>

Mime
View raw message