Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 174, in DataNode().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 285, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 49, in install self.install_packages(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 576, in install_packages retry_count=agent_stack_retry_count) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 54, 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 51, in install_package self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 86, in checked_call_with_retries return self._call_with_retries(cmd, is_checked=True, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 98, in _call_with_retries code, out = func(cmd, **kwargs) 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 293, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_5_3_0_37' returned 1. Error: Nothing to do stdout: /var/lib/ambari-agent/data/output-286.txt 2017-06-15 14:39:35,934 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-06-15 14:39:35,935 - Group['livy'] {} 2017-06-15 14:39:35,936 - Group['spark'] {} 2017-06-15 14:39:35,936 - Group['hadoop'] {} 2017-06-15 14:39:35,937 - Group['users'] {} 2017-06-15 14:39:35,937 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,938 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,938 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,939 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,939 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2017-06-15 14:39:35,940 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} 2017-06-15 14:39:35,940 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,941 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,941 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,942 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,942 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} 2017-06-15 14:39:35,943 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2017-06-15 14:39:35,944 - 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-06-15 14:39:35,948 - 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-06-15 14:39:35,948 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2017-06-15 14:39:35,949 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2017-06-15 14:39:35,950 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} 2017-06-15 14:39:35,953 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if 2017-06-15 14:39:35,954 - Group['hdfs'] {} 2017-06-15 14:39:35,954 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'hdfs']} 2017-06-15 14:39:35,955 - FS Type: 2017-06-15 14:39:35,955 - Directory['/etc/hadoop'] {'mode': 0755} 2017-06-15 14:39:35,955 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2017-06-15 14:39:35,969 - Initializing 2 repositories 2017-06-15 14:39:35,969 - Repository['HDP-2.5'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.5.0.0', 'action': ['create'], 'components': ['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-06-15 14:39:35,977 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)} 2017-06-15 14:39:35,977 - Writing File['/etc/yum.repos.d/HDP.repo'] because it doesn't exist 2017-06-15 14:39:35,978 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6', 'action': ['create'], 'components': ['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-06-15 14:39:35,980 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': InlineTemplate(...)} 2017-06-15 14:39:35,980 - Writing File['/etc/yum.repos.d/HDP-UTILS.repo'] because it doesn't exist 2017-06-15 14:39:35,981 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-06-15 14:39:36,060 - Skipping installation of existing package unzip 2017-06-15 14:39:36,060 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-06-15 14:39:36,072 - Skipping installation of existing package curl 2017-06-15 14:39:36,072 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-06-15 14:39:36,083 - Skipping installation of existing package hdp-select 2017-06-15 14:39:36,233 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-06-15 14:39:36,236 - Stack Feature Version Info: stack_version=2.5, version=None, current_cluster_version=None -> 2.5 2017-06-15 14:39:36,237 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2017-06-15 14:39:36,242 - checked_call['rpm -q --queryformat '%{version}-%{release}' hdp-select | sed -e 's/\.el[0-9]//g''] {'stderr': -1} 2017-06-15 14:39:36,276 - checked_call returned (0, '2.5.3.0-37', '') 2017-06-15 14:39:36,281 - Package['hadoop_2_5_3_0_37'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-06-15 14:39:36,360 - Installing package hadoop_2_5_3_0_37 ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_5_3_0_37') 2017-06-15 14:39:36,805 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_5_3_0_37' returned 1. Error: Nothing to do 2017-06-15 14:39:36,805 - Failed to install package hadoop_2_5_3_0_37. Executing '/usr/bin/yum clean metadata' 2017-06-15 14:39:36,924 - Retrying to install package hadoop_2_5_3_0_37 after 30 seconds Command failed after 1 tries