Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 155, in DataNode().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py", line 50, in install self.install_packages(env) File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 821, in install_packages retry_count=agent_stack_retry_count) File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 53, in action_install self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/zypper.py", line 220, in install_package self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 266, in checked_call_with_retries return self._call_with_retries(cmd, is_checked=True, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 283, in _call_with_retries code, out = func(cmd, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm snappy' returned 8. The following NEW package is going to be installed: snappy The following package has no support information from it's vendor: snappy 1 new package to install. Overall download size: 69.6 KiB. Already cached: 0 B. After the operation, additional 205.5 KiB will be used. Continue? [y/n/...? shows all options] (y): y Detected 2 file conflicts: File /usr/lib64/libsnappy.so.1 from install of snappy-1.0.5-1.x86_64 (HDP-UTILS-1.1.0.21-repo-2) conflicts with file from package libsnappy1-1.1.3-1.2.x86_64 (@System) File /usr/share/doc/packages/snappy/COPYING from install of snappy-1.0.5-1.x86_64 (HDP-UTILS-1.1.0.21-repo-2) conflicts with file from package libsnappy1-1.1.3-1.2.x86_64 (@System) File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content. Continue? [yes/no] (no): no Problem occurred during or after installation or removal of packages: Installation aborted by user stdout: /var/lib/ambari-agent/data/output-356.txt 2018-07-12 17:40:43,607 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6 2018-07-12 17:40:43,611 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-07-12 17:40:43,611 - Group['livy'] {} 2018-07-12 17:40:43,612 - Group['spark'] {} 2018-07-12 17:40:43,613 - Group['hdfs'] {} 2018-07-12 17:40:43,613 - Group['zeppelin'] {} 2018-07-12 17:40:43,613 - Group['hadoop'] {} 2018-07-12 17:40:43,613 - Group['users'] {} 2018-07-12 17:40:43,614 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,615 - User['storm'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,616 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,617 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,617 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,618 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-07-12 17:40:43,619 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'zeppelin', u'hadoop'], 'uid': None} 2018-07-12 17:40:43,620 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,620 - User['druid'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,621 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,622 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2018-07-12 17:40:43,623 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,623 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs'], 'uid': None} 2018-07-12 17:40:43,624 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,625 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,625 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,626 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2018-07-12 17:40:43,627 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2018-07-12 17:40:43,628 - 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 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2018-07-12 17:40:43,632 - 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 0'] due to not_if 2018-07-12 17:40:43,633 - Group['hdfs'] {} 2018-07-12 17:40:43,633 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', u'hdfs']} 2018-07-12 17:40:43,633 - FS Type: 2018-07-12 17:40:43,633 - Directory['/etc/hadoop'] {'mode': 0755} 2018-07-12 17:40:43,645 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2018-07-12 17:40:43,645 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2018-07-12 17:40:43,658 - Repository['HDP-2.6-repo-2'] {'append_to_file': False, 'base_url': 'http://oxmastn.vnet.valeo.com/repos/HDP/sles12/2.6.5.0-292/', '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': 'ambari-hdp-2', 'mirror_list': None} 2018-07-12 17:40:43,665 - Flushing package manager cache since repo file content is about to change 2018-07-12 17:40:43,665 - checked_call[['zypper', 'clean', '--all']] {'sudo': True} 2018-07-12 17:40:43,701 - checked_call returned (0, 'All repositories have been cleaned up.') 2018-07-12 17:40:43,701 - File['/etc/zypp/repos.d/ambari-hdp-2.repo'] {'content': '[HDP-2.6-repo-2]\nname=HDP-2.6-repo-2\nbaseurl=http://oxmastn.vnet.valeo.com/repos/HDP/sles12/2.6.5.0-292/\n\npath=/\nenabled=1\ngpgcheck=0'} 2018-07-12 17:40:43,702 - Writing File['/etc/zypp/repos.d/ambari-hdp-2.repo'] because contents don't match 2018-07-12 17:40:43,702 - Repository['HDP-UTILS-1.1.0.21-repo-2'] {'append_to_file': True, 'base_url': 'http://oxmastn.vnet.valeo.com/repos/HDP-UTILS/sles12/1.1.0.22', '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': 'ambari-hdp-2', 'mirror_list': None} 2018-07-12 17:40:43,705 - Flushing package manager cache since repo file content is about to change 2018-07-12 17:40:43,706 - checked_call[['zypper', 'clean', '--all']] {'sudo': True} 2018-07-12 17:40:44,071 - checked_call returned (0, 'All repositories have been cleaned up.') 2018-07-12 17:40:44,071 - File['/etc/zypp/repos.d/ambari-hdp-2.repo'] {'content': '[HDP-2.6-repo-2]\nname=HDP-2.6-repo-2\nbaseurl=http://oxmastn.vnet.valeo.com/repos/HDP/sles12/2.6.5.0-292/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.21-repo-2]\nname=HDP-UTILS-1.1.0.21-repo-2\nbaseurl=http://oxmastn.vnet.valeo.com/repos/HDP-UTILS/sles12/1.1.0.22\n\npath=/\nenabled=1\ngpgcheck=0'} 2018-07-12 17:40:44,072 - Writing File['/etc/zypp/repos.d/ambari-hdp-2.repo'] because contents don't match 2018-07-12 17:40:44,072 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:44,655 - Skipping installation of existing package unzip 2018-07-12 17:40:44,655 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:44,667 - Skipping installation of existing package curl 2018-07-12 17:40:44,667 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:44,706 - Skipping installation of existing package hdp-select 2018-07-12 17:40:44,920 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-07-12 17:40:44,921 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6 2018-07-12 17:40:44,937 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-07-12 17:40:44,947 - Command repositories: HDP-2.6-repo-2, HDP-UTILS-1.1.0.21-repo-2 2018-07-12 17:40:44,947 - Applicable repositories: HDP-2.6-repo-2, HDP-UTILS-1.1.0.21-repo-2 2018-07-12 17:40:44,948 - Looking for matching packages in the following repositories: HDP-2.6-repo-2, HDP-UTILS-1.1.0.21-repo-2 2018-07-12 17:40:46,032 - Package['hadoop_2_6_5_0_292'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:46,275 - Skipping installation of existing package hadoop_2_6_5_0_292 2018-07-12 17:40:46,277 - Package['hadoop_2_6_5_0_292-client'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:46,374 - Skipping installation of existing package hadoop_2_6_5_0_292-client 2018-07-12 17:40:46,374 - Package['snappy'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2018-07-12 17:40:47,026 - Installing package snappy ('/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm snappy') 2018-07-12 17:40:47,439 - Execution of '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm snappy' returned 8. The following NEW package is going to be installed: snappy The following package has no support information from it's vendor: snappy 1 new package to install. Overall download size: 69.6 KiB. Already cached: 0 B. After the operation, additional 205.5 KiB will be used. Continue? [y/n/...? shows all options] (y): y Detected 2 file conflicts: File /usr/lib64/libsnappy.so.1 from install of snappy-1.0.5-1.x86_64 (HDP-UTILS-1.1.0.21-repo-2) conflicts with file from package libsnappy1-1.1.3-1.2.x86_64 (@System) File /usr/share/doc/packages/snappy/COPYING from install of snappy-1.0.5-1.x86_64 (HDP-UTILS-1.1.0.21-repo-2) conflicts with file from package libsnappy1-1.1.3-1.2.x86_64 (@System) File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content. Continue? [yes/no] (no): no Problem occurred during or after installation or removal of packages: Installation aborted by user 2018-07-12 17:40:47,439 - Failed to install package snappy. Executing '/usr/bin/zypper clean' 2018-07-12 17:40:47,462 - Retrying to install package snappy after 30 seconds Command failed after 1 tries