hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonid Fedotov <lfedo...@hortonworks.com>
Subject Re: Hadoop Metrics Issue in ganglia.
Date Sat, 14 Sep 2013 19:27:00 GMT
Yusaku,
You are absolutely right.
This is the only correct format for /etc/hosts:
x.x.x.x     Full_Name    short_name(alias)

Any other forms of it is incorrect and may lead to unpredictable results.

Leonid

*Thank you!*

**

*Sincerely,*

*Leonid Fedotov*

Systems Architect - Professional Services

lfedotov@hortonworks.com

office: +1 855 846 7866 ext 292

mobile: +1 650 430 1673


On Thu, Sep 12, 2013 at 12:39 PM, Yusaku Sako <yusaku@hortonworks.com>wrote:

> 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
>
> Yusaku
>
>
> On Thu, Sep 12, 2013 at 11:55 AM, orahad bigdata <oraclehad@gmail.com>wrote:
>
>> Hi,
>>
>> 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.
>>
>> @Artem
>> 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?
>>
>> Thanks
>>
>> On 9/12/13, Artem Ervits <are9004@nyp.org> wrote:
>> > Check firewall and /etc/hosts also make sure hosts lines up with result
>> of
>> > hostname -f command. Both hostname -f and hosts entries should have fqdn
>> > names. I use ambari to install my cluster, including ganglia metrics
>> and I
>> > had identical issue. Once I corrected that it started working.
>> >
>> >
>> > Artem Ervits
>> > Data Analyst
>> > New York Presbyterian Hospital
>> >
>> > ----- Original Message -----
>> > From: Chris Embree [mailto:cembree@gmail.com]
>> > Sent: Wednesday, September 11, 2013 02:40 PM
>> > To: user@hadoop.apache.org <user@hadoop.apache.org>
>> > Subject: Re: Hadoop Metrics Issue in ganglia.
>> >
>> > Did you try ganglia forums/lists?
>> >
>> >
>> > On 9/11/13, orahad bigdata <oraclehad@gmail.com> wrote:
>> >> Hi All,
>> >>
>> >> Can somebody help me please?
>> >>
>> >> Thanks
>> >> On 9/11/13, orahad bigdata <oraclehad@gmail.com> 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
>> privileged.
>> > If you are not the intended recipient, you are hereby notified that any
>> > disclosure, copying, distribution or use of the contents of this
>> message is
>> > strictly prohibited.  If you have received this message in error or are
>> not
>> > the named recipient, please notify us immediately by contacting the
>> sender
>> > at the electronic mail address noted above, and delete and destroy all
>> > copies of this message.  Thank you.
>> >
>>
>
>
> CONFIDENTIALITY NOTICE
> 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.

-- 
CONFIDENTIALITY NOTICE
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.

Mime
View raw message