You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "David Bowen (JIRA)" <ji...@apache.org> on 2007/03/08 18:36:24 UTC
[jira] Assigned: (HADOOP-1091) NPE from Simon in JT stdout
[ https://issues.apache.org/jira/browse/HADOOP-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bowen reassigned HADOOP-1091:
-----------------------------------
Assignee: David Bowen
> NPE from Simon in JT stdout
> ------------------------------
>
> Key: HADOOP-1091
> URL: https://issues.apache.org/jira/browse/HADOOP-1091
> Project: Hadoop
> Issue Type: Bug
> Reporter: David Bowen
> Assigned To: David Bowen
> Fix For: 0.12.1
>
>
> Seen in JT std out:
> Exception in thread "Timer-0" java.lang.NullPointerException
> at com.yahoo.simon.hadoop.metrics.Client.computeBlurbSize(Unknown Source)
> at com.yahoo.simon.hadoop.metrics.Client.sendBlurb(Unknown Source)
> at com.yahoo.simon.hadoop.metrics.SimonContext.emitRecord(Unknown Source)
> at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(AbstractMetricsContext.java:295)
> at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(AbstractMetricsContext.java:48)
> at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMetricsContext.java:242)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> There are (at least) two bugs:
> (1) o.a.h.metrics.MetricsRecord.setTag(String name, String value) will
> cause this problem to happen (later) if value==null. It should treat a
> null value as equivalent to an empty string.
> (2) o.a.h.mapred.Counters.getGroupNames returns a collection which may
> be getting updated concurrently. It needs to make a copy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.