You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by Rukshan Chathuranga <rc...@gmail.com> on 2015/06/04 09:59:12 UTC

How to get the Accumulo statistic data

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/>*

Re: How to get the Accumulo statistic data

Posted by Rukshan Chathuranga <rc...@gmail.com>.
Thanks Eric. I'll try.

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 9:52 PM, Eric Newton <er...@gmail.com> wrote:

> 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 <
> rcrukshan17@gmail.com> 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 <er...@gmail.com>
>> 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 <
>>> rcrukshan17@gmail.com> 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/>*
>>>>
>>>>
>>>
>>
>

Re: How to get the Accumulo statistic data

Posted by Eric Newton <er...@gmail.com>.
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 <rc...@gmail.com>
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 <er...@gmail.com> 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 <
>> rcrukshan17@gmail.com> 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/>*
>>>
>>>
>>
>

Re: How to get the Accumulo statistic data

Posted by Rukshan Chathuranga <rc...@gmail.com>.
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 <er...@gmail.com> 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 <rcrukshan17@gmail.com
> > 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/>*
>>
>>
>

Re: How to get the Accumulo statistic data

Posted by Eric Newton <er...@gmail.com>.
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 <rc...@gmail.com>
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/>*
>
>