file metrics work fine.

I don't know too much about multicast... and I'm using the default gmond
conf file.
Wouldn't using the multicast address mean I'll need to specify a different
address for each node so that the data won't get to all nodes running gmond
?


On Tue, Mar 17, 2009 at 4:46 PM, Brian Bockelman <bbock...@cse.unl.edu>wrote:

> Yup, that's the next question: what's your recv channel in gmond.conf on
> that node?  You can just send along the whole gmond.conf if you're not sure.
>
> If you set the metrics to be logged to a file, do they appear there?  I.e.,
> have you verified the metrics are working at all for the node?
>
> Brian
>
>
> On Mar 17, 2009, at 9:39 AM, Carlos Valiente wrote:
>
>  On Tue, Mar 17, 2009 at 14:06, Tamir Kamara <tamirkam...@gmail.com>
>> wrote:
>>
>>> My hadoop-metrics looks like this:
>>>
>>> dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>>> dfs.period=10
>>> dfs.servers=localhost:8649
>>>
>>> mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>>> mapred.period=10
>>> mapred.servers=localhost:8649
>>>
>>> jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>>> jvm.period=10
>>> jvm.servers=localhost:8649
>>>
>>
>> I'm using the following:
>>
>> dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>> dfs.period=10
>> dfs.servers=239.2.11.42:8649
>>
>> mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>> mapred.period=10
>> mapred.servers=239.2.11.42:8649
>>
>> jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>> jvm.period=10
>> jvm.servers=239.2.11.42:8649
>>
>> rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext
>> rpc.period=10
>> rpc.servers=239.2.11.42:8649
>>
>> (That is, I'm using the multicasting address as specified in my
>> gmond.conf:
>> [..]
>>
>> udp_send_channel {
>>  mcast_join = 239.2.11.42
>>  mcast_if = eth1
>>  port = 8649
>>  ttl = 1
>> }
>>
>> udp_recv_channel {
>>  mcast_join = 239.2.11.42
>>  mcast_if = eth1
>>  port = 8649
>>  bind = 239.2.11.42
>> }
>>
>> [..])
>>
>
>

Reply via email to