accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rukshan Chathuranga <rcruksha...@gmail.com>
Subject MasterClient usage with 1.6 API
Date Thu, 09 Jul 2015 14:48:17 GMT
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