You could just pull the code from GetMasterStats. It's just a wrapper around the thrift rpc call, and then a bunch of very simple lines that print things out.
In other words, GetMasterStats *is* the java Client example. -Eric On Thu, Jun 4, 2015 at 12:09 PM, Rukshan Chathuranga <[email protected]> wrote: > hi Eric, > > Thank for the reply. Is there any way to use GetMasterStats as a java > Client. Any examples will be appreciate. > > 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/>* > > > On Thu, Jun 4, 2015 at 4:26 PM, Eric Newton <[email protected]> wrote: > >> Take a look at the GetMasterStats class: >> >> ./bin/accumulo org.apache.accumulo.test.GetMasterStats >> >> That pretty-prints the data that the monitor page is pulling. Well, >> everything but the Garbage Collector stats, which are pulled separately. >> >> -Eric >> >> >> On Thu, Jun 4, 2015 at 3:59 AM, Rukshan Chathuranga < >> [email protected]> wrote: >> >>> hi, >>> >>> Does anyone know how to extract the Accumulo Statistics data which is >>> shown on the Accumulo overview home page. how can i access these data using >>> java Accumulo client separately? >>> >>> 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/>* >>> >>> >> >
