Hi Shuja,

(First a note: please do not cross-post onto multiple lists, it's considered 
rude)

Your configuration looks good, I don't think you'll need to do anything more, 
as long as 10.10.10.2:8649 is the correct address.  Ganglia can be configured 
in many ways, so it's hard for me to tell whether or not it's the correct 
decision for your setup.

One way to try is see if you can open that endpoint via telnet:

telnet 10.10.10.2 8649

If the connection is refused, then GangliaContext will not work.

Also, verify that you are running Ganglia 3.0 and not 3.1; 3.1 requires 
Ganglia31Context.

Brian

On Nov 8, 2010, at 8:34 AM, Shuja Rehman wrote:

> Hi
> I have cluster of 4 machines and want to configure ganglia for monitoring
> purpose. I have read the wiki and add the following lines to
> hadoop-metrics.properties on each machine.
> 
> dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext
> dfs.period=10
> dfs.servers=10.10.10.2:8649
> 
> mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext
> mapred.period=10
> mapred.servers=10.10.10.2:8649
> 
> jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext
> jvm.period=10
> jvm.servers=10.10.10.2:8649
> 
> rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext
> rpc.period=10
> rpc.servers=10.10.10.2:8649
> 
> 
> where 10.10.10.2 is the machine where i am running gmeated and web front
> end. Will  I need to same ip in all machine as i do here or need to give
> machine own ip in each file? and is there anything more to do to setup it
> with hadoop?
> 
> 
> 
> -- 
> Regards
> Shuja-ur-Rehman Baig
> <http://pk.linkedin.com/in/shujamughal>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to