Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.18.0
-
None
-
None
Description
Found the following new metrics in tasktracker:
mapTaskSlots (short)
reduceTaskSlots (short)
tasks_failed_timeout (int)
tasks_failed_ping (int)
After configuring Simon to match the new metrics, this error was thrown in the task tracker log:
Exception in thread "Timer thread for monitoring mapred" java.lang.ClassCastException: java.lang.Long
at com.yahoo.simon.hadoop.metrics.Client.sendBlurb(Client.java:266)
at com.yahoo.simon.hadoop.metrics.SimonContext.emitRecord(SimonContext.java:160)
at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(AbstractMetricsContext.java:304)
at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(AbstractMetricsContext.java:290)
at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(AbstractMetricsContext.java:50)
at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMetricsContext.java:249)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)