You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/02/07 14:28:20 UTC

[jira] [Created] (AMBARI-4555) Nagios alert for NN process fails if Port is changed

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)