thanx; that worked well!

question: is there a way to get access to the gcstatus?

there is a private method; but how can you access the status outside this
class?

e.g. private static GCStatus fetchGcStatus()



On Thu, Jul 23, 2020 at 1:34 PM <[email protected]> wrote:

> The Monitor[1] gets a MasterMonitorInfo[2] object from the Master that
> contains the information you need. The tableMap member contains a
> TableInfo[3] object for each table that holds the information you are
> looking for.
>
>
>
> [1]
> https://github.com/apache/accumulo/blob/1.9/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java#L297
>
> [2]
> https://github.com/apache/accumulo/blob/1.9/core/src/main/java/org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java
>
> [3]
> https://github.com/apache/accumulo/blob/1.9/core/src/main/java/org/apache/accumulo/core/master/thrift/TableInfo.java
>
>
>
> *From:* Bulldog20630405 <[email protected]>
> *Sent:* Wednesday, July 22, 2020 1:11 PM
> *To:* accumulo-user <[email protected]>
> *Cc:* Bulldog20630405 <[email protected]>
> *Subject:* example thrift client to get master metrics
>
>
>
>
>
> we are trying to grab master metrics (e.g. table x current major
> compaction ... something you can see on the monitor page)
> programmatically.  does anyone have an example client to do that?
>
>
>

Reply via email to