hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Bockelman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4137) NPE in GangliaContext.xdr_string (GangliaContext.java:195)
Date Sat, 04 Oct 2008 18:09:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Bockelman updated HADOOP-4137:
------------------------------------

    Affects Version/s: 0.18.1
               Status: Patch Available  (was: Open)

Catch the NPE reported on bug HADOOP-4137; also fixes another NPE which was immediately triggered
in 0.18.1 after applying the patch.

With this patch and the patch for  HADOOP-3422, Ganglia metrics are working again.

> NPE in GangliaContext.xdr_string (GangliaContext.java:195)
> ----------------------------------------------------------
>
>                 Key: HADOOP-4137
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4137
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.18.1, 0.18.0
>            Reporter: Michael Bieniosek
>         Attachments: hadoop_ganglia_npe-4137.patch
>
>
> Exception in thread "Timer thread for monitoring dfs" java.lang.NullPointerException
>         at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaContext.java:195)
>         at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaContext.java:138)
>         at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaContext.java:123)
>         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(Unknown Source)
>         at java.util.TimerThread.run(Unknown Source)
> It looks like this caused the datanode to hang, though I accidentally killed the datanode
before I could dump its stack.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message