You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by Ted Yu <yu...@gmail.com> on 2010/05/22 04:38:12 UTC

tasktracker JMX query

Hi,
We monitor number of open connections to task tracker:
    public static IMonitorQuery RPC_NUM_OPEN_CONNECTIONS = new JmxQuery("",
HADOOP_TASKTRACKER_WILDCARD(), "NumOpenConnections", ReportType.PERIODIC,
RPC_STATISTICS_QUERY);

The above worked with 0.19.1 hadoop but when it doesn't work with 0.20.1:

 INFO [2010-05-21 19:26:06] (ExecUtil.java:232) - Exception in thread
"agentQueryingTimer" java.lang.IllegalStateException: no object name for
wildcard name 'hadoop.dfs:service=TaskTracker,*' found at
service:jmx:rmi:///jndi/rmi://sjc9-flash-grid01.ciq.com:11004/jmxrmi

I am wondering how we should query against 0.20.1

Thanks