ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-4555) Nagios alert for NN process fails if Port is changed
Date Fri, 07 Feb 2014 13:28:20 GMT
Andrew Onischuk created AMBARI-4555:
---------------------------------------

             Summary: Nagios alert for NN process fails if Port is changed
                 Key: AMBARI-4555
                 URL: https://issues.apache.org/jira/browse/AMBARI-4555
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.0


Hi,

The nagios alert for Namenode process reports error , if NN port is changed from default 8020
to example 54310.

more /etc/nagios/objects/hadoop-services.cfg
define service {
        host_name               linuxhdp
        use                     hadoop-service
        service_description     NAMENODE::NameNode process on linuxhdp
        servicegroups           HDFS
        check_command           check_tcp!8020!-w 1 -c 1
        normal_check_interval   0.5
        retry_check_interval    0.25
        max_check_attempts      3
}

It should either be configurable or should take the value from core-site.xml based on value
of below param.

 <property>
    <name>fs.defaultFS</name>
    <value>hdfs://linuxhdp:54310</value>
  </property>

If we change /etc/nagios/objects/hadoop-services.cfg it is getting overwritten by Ambari.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message