ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "subin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-6167) Nagios won't install on 2.1.GlusterFS stack
Date Mon, 30 Jun 2014 14:53:24 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047721#comment-14047721
] 

subin commented on AMBARI-6167:
-------------------------------

+1

> Nagios won't install on 2.1.GlusterFS stack
> -------------------------------------------
>
>                 Key: AMBARI-6167
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6167
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Erin A Boyd
>            Assignee: Scott Creeley
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-6167.patch
>
>
> 2014-06-17 13:33:16,051 - Package['unzip'] {}
> 2014-06-17 13:33:16,074 - Skipping installing existent package unzip
> 2014-06-17 13:33:16,075 - Package['curl'] {}
> 2014-06-17 13:33:16,094 - Skipping installing existent package curl
> 2014-06-17 13:33:16,094 - Package['net-snmp-utils'] {}
> 2014-06-17 13:33:16,115 - Skipping installing existent package net-snmp-utils
> 2014-06-17 13:33:16,116 - Package['net-snmp'] {}
> 2014-06-17 13:33:16,135 - Skipping installing existent package net-snmp
> 2014-06-17 13:33:16,136 - Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf   --retry
10 http://hwx56.rhs:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz']
{'environment': ..., 'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin',
'/usr/bin/']}
> 2014-06-17 13:33:16,146 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf
  --retry 10 http://hwx56.rhs:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz']
due to not_if
> 2014-06-17 13:33:16,147 - Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz
> /dev/null 2>&1'] {'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path':
['/bin', '/usr/bin/']}
> 2014-06-17 13:33:16,160 - Skipping Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar
-xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] due to not_if
> 2014-06-17 13:33:16,161 - Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf --retry
10     http://hwx56.rhs:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip']
{'environment': ..., 'not_if': 'test -e /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures':
True, 'path': ['/bin', '/usr/bin/']}
> 2014-06-17 13:33:16,169 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf
--retry 10     http://hwx56.rhs:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip']
due to not_if
> 2014-06-17 13:33:16,169 - Group['hadoop'] {}
> 2014-06-17 13:33:16,170 - Modifying group hadoop
> 2014-06-17 13:33:16,305 - Group['users'] {}
> 2014-06-17 13:33:16,306 - Modifying group users
> 2014-06-17 13:33:16,405 - Group['users'] {}
> 2014-06-17 13:33:16,406 - Modifying group users
> 2014-06-17 13:33:16,498 - User['ambari-qa'] {'gid': 'hadoop', 'groups': [u'users']}
> 2014-06-17 13:33:16,499 - Modifying user ambari-qa
> 2014-06-17 13:33:16,511 - File['/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'),
'mode': 0555}
> 2014-06-17 13:33:16,512 - Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa
2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
> 2014-06-17 13:33:16,522 - Skipping Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa
2>/dev/null'] due to not_if
> 2014-06-17 13:33:16,522 - Group['nagios'] {}
> 2014-06-17 13:33:16,522 - Modifying group nagios
> 2014-06-17 13:33:16,615 - User['nagios'] {'gid': 'nagios'}
> 2014-06-17 13:33:16,616 - Modifying user nagios
> 2014-06-17 13:33:16,631 - User['oozie'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,632 - Modifying user oozie
> 2014-06-17 13:33:16,641 - User['hcat'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,641 - Modifying user hcat
> 2014-06-17 13:33:16,653 - User['hcat'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,653 - Modifying user hcat
> 2014-06-17 13:33:16,664 - User['hive'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,665 - Modifying user hive
> 2014-06-17 13:33:16,674 - User['yarn'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,675 - Modifying user yarn
> 2014-06-17 13:33:16,685 - Group['nobody'] {}
> 2014-06-17 13:33:16,685 - Modifying group nobody
> 2014-06-17 13:33:16,782 - Group['nobody'] {}
> 2014-06-17 13:33:16,783 - Modifying group nobody
> 2014-06-17 13:33:16,888 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
> 2014-06-17 13:33:16,888 - Modifying user nobody
> 2014-06-17 13:33:16,904 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
> 2014-06-17 13:33:16,904 - Modifying user nobody
> 2014-06-17 13:33:16,916 - User['hdfs'] {'gid': 'hadoop', 'groups': [u'hadoop']}
> 2014-06-17 13:33:16,916 - Modifying user hdfs
> 2014-06-17 13:33:16,928 - User['mapred'] {'gid': 'hadoop', 'groups': [u'hadoop']}
> 2014-06-17 13:33:16,928 - Modifying user mapred
> 2014-06-17 13:33:16,940 - User['zookeeper'] {'gid': 'hadoop'}
> 2014-06-17 13:33:16,940 - Modifying user zookeeper
> 2014-06-17 13:33:16,951 - User['storm'] {'gid': 'hadoop', 'groups': [u'hadoop']}
> 2014-06-17 13:33:16,951 - Modifying user storm
> 2014-06-17 13:33:16,964 - User['falcon'] {'gid': 'hadoop', 'groups': [u'hadoop']}
> 2014-06-17 13:33:16,964 - Modifying user falcon
> 2014-06-17 13:33:16,974 - User['tez'] {'gid': 'hadoop', 'groups': [u'users']}
> 2014-06-17 13:33:16,974 - Modifying user tez
> 2014-06-17 13:33:17,140 - Package['hdp_mon_nagios_addons'] {'action': ['remove']}
> 2014-06-17 13:33:17,160 - Skipping removing non-existent package hdp_mon_nagios_addons
> 2014-06-17 13:33:17,160 - Package['nagios-plugins'] {'action': ['remove']}
> 2014-06-17 13:33:17,179 - Skipping removing non-existent package nagios-plugins
> 2014-06-17 13:33:17,179 - Execute['rpm -e --allmatches --nopostun nagios'] {'path': ['/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'],
'ignore_failures': True}
> 2014-06-17 13:33:17,199 - Skipping failure of Execute['rpm -e --allmatches --nopostun
nagios'] due to ignore_failures. Failure reason: Execution of 'rpm -e --allmatches --nopostun
nagios' returned 1. error: package nagios is not installed
> 2014-06-17 13:33:17,199 - Repository['HDP-2.1.GlusterFS'] {'action': ['create'], 'mirror_list':
None, 'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.1.2.0',
'components': ['HDP', 'main'], 'repo_file_name': 'HDP'}
> 2014-06-17 13:33:17,207 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)}
> 2014-06-17 13:33:17,207 - Repository['HDP-UTILS-1.1.0.17'] {'action': ['create'], 'mirror_list':
None, 'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.17/repos/centos6',
'components': ['HDP', 'main'], 'repo_file_name': 'HDP-UTILS'}
> 2014-06-17 13:33:17,209 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': InlineTemplate(...)}
> 2014-06-17 13:33:17,210 - Package['perl'] {}
> 2014-06-17 13:33:17,231 - Skipping installing existent package perl
> 2014-06-17 13:33:17,231 - Package['perl-Net-SNMP'] {}
> 2014-06-17 13:33:17,251 - Installing package perl-Net-SNMP ('/usr/bin/yum -d 0 -e 0 -y
install perl-Net-SNMP')
> 2014-06-17 13:33:36,262 - Package['nagios-plugins-1.4.9'] {}
> 2014-06-17 13:33:36,280 - Installing package nagios-plugins-1.4.9 ('/usr/bin/yum -d 0
-e 0 -y install nagios-plugins-1.4.9')
> 2014-06-17 13:33:50,697 - Package['nagios-3.5.0-99'] {}
> 2014-06-17 13:33:50,715 - Installing package nagios-3.5.0-99 ('/usr/bin/yum -d 0 -e 0
-y install nagios-3.5.0-99')
> 2014-06-17 13:34:07,515 - Package['nagios-www-3.5.0-99'] {}
> 2014-06-17 13:34:07,533 - Installing package nagios-www-3.5.0-99 ('/usr/bin/yum -d 0
-e 0 -y install nagios-www-3.5.0-99')
> 2014-06-17 13:34:20,731 - Package['nagios-devel-3.5.0-99'] {}
> 2014-06-17 13:34:20,749 - Installing package nagios-devel-3.5.0-99 ('/usr/bin/yum -d
0 -e 0 -y install nagios-devel-3.5.0-99')
> 2014-06-17 13:34:33,446 - Package['fping'] {}
> 2014-06-17 13:34:33,463 - Installing package fping ('/usr/bin/yum -d 0 -e 0 -y install
fping')
> 2014-06-17 13:34:43,394 - Package['hdp_mon_nagios_addons'] {}
> 2014-06-17 13:34:43,412 - Installing package hdp_mon_nagios_addons ('/usr/bin/yum -d
0 -e 0 -y install hdp_mon_nagios_addons')
> 2014-06-17 13:34:55,517 - Error while executing command 'install':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 105, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios_server.py",
line 33, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios_server.py",
line 36, in configure
>     import params
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/params.py",
line 106, in <module>
>     nn_ha_host_port_map[config['clusterHostInfo']['namenode_host'][0]] = namenode_metadata_port
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
line 75, in __getattr__
>     raise Fail("Configuration parameter '"+self.name+"' was not found in configurations
dictionary!")
> Fail: Configuration parameter 'namenode_host' was not found in configurations dictionary!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message