I was trying to use Jconsole to monitor MR child processes (i.e. mappers
and reducers), but nothing I tried worked.
According to this link
I added below lines to my mapred configuration file.
The problem is, since the configuration does not specify a port number, how
am I supposed to know which port
is opened waiting for JConsole to connect to?
So I searched a little bit more and found this article
Following this article, I modified the property to be
where 8765 is the port I would like to use for jmxrmi.
Here comes another problem: since more than one child will be spawned, how
could one monitor-port be shared by several processes?
As you could imagine, this solution didn't work for me either.
I am stuck here. I wonder has anybody tried this before? Any