----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19746/#review39888 -----------------------------------------------------------
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py <https://reviews.apache.org/r/19746/#comment72640> This should be done during START to handle stack upgrade scenario - Dmitro Lisnichenko On April 9, 2014, 11:08 a.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19746/ > ----------------------------------------------------------- > > (Updated April 9, 2014, 11:08 a.m.) > > > Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar. > > > Bugs: AMBARI-3962 > https://issues.apache.org/jira/browse/AMBARI-3962 > > > Repository: ambari > > > Description > ------- > > Just discovered, that after NN failover (as expected) Nagios can not > communicate to it over SNMP. > Check for running daemon and found it is not started. > Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" > after snmp rpm installation. > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py > 51e5cd2 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py > fa19ca3 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py > 4e51c17 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py > 2db9b4b > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py > c5828d3 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 > 9b16c84 > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py > ffa65fe > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py > 51e5cd2 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py > 341d86f > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py > c76c028 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py > f1ef84a > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py > 3ffcc76 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 > 9b16c84 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py > ffa65fe > ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py > 48f1ca3 > > ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py > 3867f48 > > ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py > 2663839 > ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py > 7af8e36 > > ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py > 09d77d4 > > ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py > 88448e6 > > Diff: https://reviews.apache.org/r/19746/diff/ > > > Testing > ------- > > > Thanks, > > Andrew Onischuk > >
