I've had similar issues in the past and what I had to do was to list out
the FQDNs first before the shortnames in /etc/hosts. Like so:
192.168.126.129 master.bigmix.com master loghost
192.168.126.130 clone1.bigmix.com clone1
192.168.126.133 clone2.bigmix.com clone2
On Thu, Sep 12, 2013 at 11:55 AM, orahad bigdata <[EMAIL PROTECTED]>wrote:
> Thanks for your reply.
> @Chris - I haven't tried this on ganglia forums because I thought this
> is something related to Hadoop. Though I'm able to see default metrics
> from every nodes.
> I'm not using any firewall, In addition my host entry looks like below.
> 192.168.126.129 master master.bigmix.com loghost
> 192.168.126.130 clone1 clone1.bigmix.com
> 192.168.126.133 clone2 clone2.bigmix.com
> I'm also able to lookup these machines through dns ( nslookup, host).
> Did I missed something?
> On 9/12/13, Artem Ervits <[EMAIL PROTECTED]> wrote:
> > Check firewall and /etc/hosts also make sure hosts lines up with result
> > hostname -f command. Both hostname -f and hosts entries should have fqdn
> > names. I use ambari to install my cluster, including ganglia metrics and
> > had identical issue. Once I corrected that it started working.
> > Artem Ervits
> > Data Analyst
> > New York Presbyterian Hospital
> > ----- Original Message -----
> > From: Chris Embree [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 11, 2013 02:40 PM
> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Subject: Re: Hadoop Metrics Issue in ganglia.
> > Did you try ganglia forums/lists?
> > On 9/11/13, orahad bigdata <[EMAIL PROTECTED]> wrote:
> >> Hi All,
> >> Can somebody help me please?
> >> Thanks
> >> On 9/11/13, orahad bigdata <[EMAIL PROTECTED]> wrote:
> >>> Hi All,
> >>> I'm facing an issue while showing Hadoop metrics in ganglia, Though I
> >>> have installed ganglia on my master/slaves nodes and I'm able to see
> >>> all the default metrics on ganglia UI from all the nodes but I'm not
> >>> able to see Hadoop metrics in metrics section.
> >>> versions:-
> >>> Hadoop 1.1.1
> >>> ganglia 3.0.7
> >>> hadoop-metrics2.properties -----
> >>> dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
> >>> dfs.period=10
> >>> dfs.servers=master:8649
> >>> mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
> >>> mapred.period=10
> >>> mapred.servers=master:8649
> >>> please guide.
> >>> Thanks
> > This electronic message is intended to be for the use only of the named
> > recipient, and may contain information that is confidential or
> > If you are not the intended recipient, you are hereby notified that any
> > disclosure, copying, distribution or use of the contents of this message
> > strictly prohibited. If you have received this message in error or are
> > the named recipient, please notify us immediately by contacting the
> > at the electronic mail address noted above, and delete and destroy all
> > copies of this message. Thank you.
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.