hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bockelman <bbock...@cse.unl.edu>
Subject Re: Hadoop 0.19.2 and Ganglia 3.1.3
Date Wed, 18 Nov 2009 02:08:46 GMT
Hey John,

You need the latest version of this patch for the 0.19.x branch:

http://issues.apache.org/jira/browse/HADOOP-4675

Sadly, the patch is quite aged and I haven't driven it to completion yet....

Brian

On Nov 17, 2009, at 8:06 PM, John Martyniak wrote:

> I get several error messages here is one:
> 
> more hadoop-hadoop-tasktracker-cloud1.local.beforedawnsolutions.com.out
> Exception in thread "Timer thread for monitoring mapred" java.lang.NullPointerEx
> ception
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaCo
> ntext.java:195)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaCo
> ntext.java:138)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaCo
> ntext.java:123)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(Abst
> ractMetricsContext.java:304)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(Abstr
> actMetricsContext.java:290)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(Abstr
> actMetricsContext.java:50)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMe
> tricsContext.java:249)
> 	at java.util.TimerThread.mainLoop(Timer.java:534)
> 	at java.util.TimerThread.run(Timer.java:484)
> Exception in thread "Timer thread for monitoring rpc" java.lang.NullPointerExcep
> tion
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaCo
> ntext.java:195)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaCo
> ntext.java:138)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaCo
> ntext.java:123)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(Abst
> ractMetricsContext.java:304)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(Abstr
> actMetricsContext.java:290)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(Abstr
> actMetricsContext.java:50)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMe
> tricsContext.java:249)
> 	at java.util.TimerThread.mainLoop(Timer.java:534)
> 	at java.util.TimerThread.run(Timer.java:484)
> 
> 
> [hadoop@cloud1 logs]$ more hadoop-hadoop-namenode-cloud1.local.beforedawnsolutions.com.out
> Exception in thread "Timer thread for monitoring rpc" java.lang.NullPointerExcep
> tion
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaCo
> ntext.java:195)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaCo
> ntext.java:138)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaCo
> ntext.java:123)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(Abst
> ractMetricsContext.java:304)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(Abstr
> actMetricsContext.java:290)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(Abstr
> actMetricsContext.java:50)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMe
> tricsContext.java:249)
> 	at java.util.TimerThread.mainLoop(Timer.java:534)
> 	at java.util.TimerThread.run(Timer.java:484)
> Exception in thread "Timer thread for monitoring dfs" java.lang.NullPointerExcep
> tion
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.xdr_string(GangliaCo
> ntext.java:195)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitMetric(GangliaCo
> ntext.java:138)
> 	at org.apache.hadoop.metrics.ganglia.GangliaContext.emitRecord(GangliaCo
> ntext.java:123)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.emitRecords(Abst
> ractMetricsContext.java:304)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.timerEvent(Abstr
> actMetricsContext.java:290)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext.access$000(Abstr
> actMetricsContext.java:50)
> 	at org.apache.hadoop.metrics.spi.AbstractMetricsContext$1.run(AbstractMe
> tricsContext.java:249)
> 	at java.util.TimerThread.mainLoop(Timer.java:534)
> 	at java.util.TimerThread.run(Timer.java:484)
> 
> Any ideas?
> 
> -John
> 
> On Nov 17, 2009, at 8:50 PM, Y G wrote:
> 
>> we use cloudera 0.20.1+152 dist. it has included the ganglia 3.1.x patch,
>> maybe you could try it.
>> -----
>> 天天开心
>> 身体健康
>> Sent from Nanjing, 32, China
>> Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
>> "Sports is like a war without the killing."
>> 
>> 2009/11/18 John Martyniak <john@beforedawnsolutions.com>
>> 
>>> Has anybody else had any trouble running hadoop 0.19.2 and Ganglia 3.1.x?
>>> 
>>> I was surfing through the Jira/Google and it seems that there where some
>>> issues but have been resolved.
>>> 
>>> Any thoughts would be helpful.
>>> 
>>> Thank you,
>>> 
>>> -John
>>> 
>>> 
>>> 


Mime
View raw message