Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 147, in ApplicationTimelineServer().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 38, in install self.install_packages(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 404, in install_packages Package(name) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install 'hadoop_2_4_*-yarn'' returned 1. Error: Nothing to do stdout: /var/lib/ambari-agent/data/output-474.txt 2017-03-11 16:47:42,813 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-03-11 16:47:42,815 - Group['hadoop'] {} 2017-03-11 16:47:42,817 - Adding group Group['hadoop'] 2017-03-11 16:47:42,882 - Group['users'] {} 2017-03-11 16:47:42,883 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-03-11 16:47:42,883 - Adding user User['zookeeper'] 2017-03-11 16:47:42,921 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users']} 2017-03-11 16:47:42,922 - Adding user User['ambari-qa'] 2017-03-11 16:47:42,973 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-03-11 16:47:42,974 - Adding user User['hdfs'] 2017-03-11 16:47:43,028 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-03-11 16:47:43,029 - Adding user User['yarn'] 2017-03-11 16:47:43,077 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']} 2017-03-11 16:47:43,078 - Adding user User['mapred'] 2017-03-11 16:47:43,109 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2017-03-11 16:47:43,112 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2017-03-11 16:47:43,124 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if 2017-03-11 16:47:43,125 - Group['hdfs'] {} 2017-03-11 16:47:43,125 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': [u'hadoop', u'hdfs']} 2017-03-11 16:47:43,126 - Modifying user hdfs 2017-03-11 16:47:43,150 - Directory['/etc/hadoop'] {'mode': 0755} 2017-03-11 16:47:43,150 - Creating directory Directory['/etc/hadoop'] since it doesn't exist. 2017-03-11 16:47:43,151 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777} 2017-03-11 16:47:43,152 - Changing owner for /var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir from 2015 to hdfs 2017-03-11 16:47:43,152 - Changing group for /var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir from 2002 to hadoop 2017-03-11 16:47:43,180 - Repository['HDP-2.4'] {'base_url': 'http://192.168.56.120/hortonworks/HDP/centos7/2.x/updates/2.4.0.0', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None} 2017-03-11 16:47:43,197 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)} 2017-03-11 16:47:43,199 - Writing File['/etc/yum.repos.d/HDP.repo'] because it doesn't exist 2017-03-11 16:47:43,199 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://192.168.56.120/hortonworks/HDP-UTILS-1.1.0.20/repos/centos7', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None} 2017-03-11 16:47:43,203 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.20]\nname=HDP-UTILS-1.1.0.20\nbaseurl=http://192.168.56.120/hortonworks/HDP-UTILS-1.1.0.20/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'} 2017-03-11 16:47:43,204 - Package['unzip'] {} 2017-03-11 16:47:43,448 - Skipping installation of existing package unzip 2017-03-11 16:47:43,449 - Package['curl'] {} 2017-03-11 16:47:43,562 - Skipping installation of existing package curl 2017-03-11 16:47:43,562 - Package['hdp-select'] {} 2017-03-11 16:47:43,681 - Skipping installation of existing package hdp-select 2017-03-11 16:47:44,035 - Package['hadoop_2_4_*-yarn'] {} 2017-03-11 16:47:44,312 - Installing package hadoop_2_4_*-yarn ('/usr/bin/yum -d 0 -e 0 -y install 'hadoop_2_4_*-yarn'')