I wanted to get a handle to a node agent MBean, thinking that I would ask it some information such as state etc, but I was wrong. A node agent MBean is for invoking the Node Agent to start or stop another process. We can however get a Node Agent’s JVM process (Server process MBean) and query that for information.

For example:

What we should be doing is something like this code which gets a handle to the node agent’s JVM server process MBean. This allows us to get pid, heap, state etc.


Leave a Reply