Unfortunately there isn't a direct equivalent available for plugging in instrumentation classes in YARN's NodeManagers currently. The closest I can locate is a comment hint in the NodeManagerMetrics class that toys with the same idea: https://github.com/apache/hadoop-common/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/metrics/NodeManagerMetrics.java#L53
If you'll absolutely need this in YARN, can you please file a YARN JIRA with the motivation on why? On Tue, Feb 4, 2014 at 9:37 AM, Anfernee Xu <anfernee...@gmail.com> wrote: > Hi, > > I'm migrating my application from MR v.1 to YARN, I do not know how to > convert my class which extends > org.apache.hadoop.mapred.TaskTrackerMetricsInst, I want this class to run as > TaskTracker starts up, if I migrate to YARN, I want it to run as NodeManager > starts up, so how can I make this happen? > > -- > --Anfernee -- Harsh J