Support Questions
Find answers, ask questions, and share your expertise

Setup of HDP 2.6 with Ambari 2.5

Super Guru
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/", line 64, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 329, in execute
  File "/var/lib/ambari-agent/cache/common-services/HIVE/", line 33, in install
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 693, in install_packages
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124, in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/", 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/", 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/", 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/", line 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 303, 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 mysql-community-release' returned 1. Error: mysql57-community-release conflicts with mysql-community-release-el7-7.noarch
 You could try using --skip-broken to work around the problem 

You could try running: rpm -Va --nofiles --nodigest

I already have Mysql on that node for druid and superset. But it fails as it tries to install a different version.

Following this:


@Timothy Spann Interesting. In all the tests I did I never personally tried two different versions of MySQL on the same box, I always used Postgres for Ambari/etc. and MySQL57 for SAM/etc. It makes sense though - you can't yum install two different versions of the same program as they'd overwrite each other - you'd have to compile it from source or put one of them in a docker or something.


@Timothy Spann

Since , you already have an existing mysql installation new mysql version is causing the conflict . Please try one of below options.

1. Use the existing mysql instance for the installation.

2. Use any other external DB like postgres etc.