<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210037#M171986</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18960/raghu9raghavendra.html" nodeid="18960"&gt;@raghavendra v&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Were you able to install mysql?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 20:44:52 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-06-11T20:44:52Z</dc:date>
    <item>
      <title>resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210031#M171980</link>
      <description>&lt;P&gt;I'm trying to install 3 node cluster on redhat 7.5. I'm able to install all basic services except hive. &lt;/P&gt;&lt;P&gt;1) getting mysql-community-server error&lt;/P&gt;&lt;P&gt;2) Installed maria db to resolve this and i'm unable to install mysql server. &lt;/P&gt;&lt;P&gt;here is the log:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py", line 64, in &amp;lt;module&amp;gt;
    MysqlServer().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py", line 33, in install
    self.install_packages(env)


  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 708, in install_packages
    retry_count=agent_stack_retry_count)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, 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 53, 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 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/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/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/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/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do
Loaded plugins: langpacks, product-id, subscription-manager&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jun 2018 00:26:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210031#M171980</guid>
      <dc:creator>raghu9raghavend</dc:creator>
      <dc:date>2018-06-07T00:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210032#M171981</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/18960/raghu9raghavendra.html" nodeid="18960"&gt;@raghavendra v&lt;/A&gt; Error is due yum command at os level is failing. Try to run the same command yourself on the host you plan to install hive. &lt;/P&gt;&lt;PRE&gt;yum -d 0 -e 0 -y install mysql-community-server&lt;/PRE&gt;&lt;P&gt;See exactly why the above is failing. If not able to find the mysql-community-server package you may need to add the repository for this to work:&lt;/P&gt;&lt;PRE&gt;wget &lt;A href="https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm" target="_blank"&gt;https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm&lt;/A&gt; 
rpm -ivh mysql57-community-release-el7-11.noarch.rpm &lt;/PRE&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 02:44:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210032#M171981</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-06-07T02:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210033#M171982</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18960/raghu9raghavendra.html" nodeid="18960"&gt;@raghavendra v&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try the "&lt;STRONG&gt;localinstall&lt;/STRONG&gt;" option with yum:&lt;/P&gt;&lt;PRE&gt;# yum localinstall &lt;A href="https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm" target="_blank"&gt;https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm&lt;/A&gt;
# yum install mysql-community-server -y&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:51:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210033#M171982</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-06-07T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210034#M171983</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11048/falbani.html" nodeid="11048"&gt;@Felix Albani&lt;/A&gt;&lt;P&gt;Thanks for the reply. I tried the above cmd. but no use:&lt;BR /&gt;# yum -d 0 -e 0 -y install mysql-community-server &lt;/P&gt;&lt;P&gt;Error: Nothing to do &lt;/P&gt;&lt;P&gt;Loaded plugins: langpacks, product-id, subscription-manager&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:51:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210034#M171983</guid>
      <dc:creator>raghu9raghavend</dc:creator>
      <dc:date>2018-06-07T19:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210035#M171984</link>
      <description>&lt;P&gt;Followed by:&lt;/P&gt;&lt;PRE&gt;# systemctl start mysqld.service&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;- Obtain a randomly generated MySQL root password:&lt;/P&gt;&lt;PRE&gt;# grep 'A temporary password is generated for root@localhost' /var/log/mysqld.log |tail -1&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;- Reset the MySQL root password. Enter the following command. You are prompted for the password you obtained in the previous step. MySQL then asks you to change the password.&lt;/P&gt;&lt;PRE&gt;# /usr/bin/mysql_secure_installation&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 19:53:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210035#M171984</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-06-07T19:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210036#M171985</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Jay thanks for headsup on this tried the above cmd. still facing the conflict. I installed maria db as an option earlier&lt;BR /&gt;Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Examining mysql57-community-release-el7-8.noarch.rpm: mysql57-community-release-el7-8.noarch &lt;/P&gt;&lt;P&gt;Marking mysql57-community-release-el7-8.noarch.rpm to be installed &lt;/P&gt;&lt;P&gt;Resolving Dependencies &lt;/P&gt;&lt;P&gt;--&amp;gt; Running transaction check &lt;/P&gt;&lt;P&gt;---&amp;gt; Package mysql57-community-release.noarch 0:el7-8 will be installed&lt;/P&gt;&lt;P&gt;
--&amp;gt; Processing Conflict: mysql57-community-release-el7-8.noarch conflicts mysql-community-release&lt;/P&gt;&lt;P&gt;
rhel-7-server-extras-rpms                                                                                                                               | 2.0 kB  00:00:00 &lt;/P&gt;&lt;P&gt;rhel-7-server-fastrack-rpms                                                                                                                             | 1.7 kB  00:00:00 &lt;/P&gt;&lt;P&gt;rhel-7-server-optional-rpms                                                                                                                             | 2.0 kB  00:00:00 &lt;/P&gt;&lt;P&gt;rhel-7-server-rpms                                                                                                                                      | 2.0 kB  00:00:00 &lt;/P&gt;&lt;P&gt;rhel-7-server-satellite-tools-6.3-puppet4-rpms                                                                                                          | 2.1 kB  00:00:00&lt;/P&gt;&lt;P&gt;
rhel-7-server-satellite-tools-6.3-rpms                                                                                                                  | 2.1 kB  00:00:00 &lt;/P&gt;&lt;P&gt;No package matched to upgrade: mysql57-community-release&lt;/P&gt;&lt;P&gt;
--&amp;gt; Finished Dependency Resolution &lt;/P&gt;&lt;P&gt;Error: mysql57-community-release conflicts with mysql-community-release-el7-5.noarch &lt;/P&gt;&lt;P&gt; You could try using --skip-broken to work around the problem &lt;/P&gt;&lt;P&gt; You could try running: rpm -Va --nofiles --nodigest&lt;/P&gt;&lt;P&gt;
Uploading Enabled Repositories Report&lt;/P&gt;&lt;P&gt;
Loaded plugins: langpacks, product-id, subscription-manager&lt;/P&gt;&lt;P&gt;tried --skip-broken option too&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 20:06:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210036#M171985</guid>
      <dc:creator>raghu9raghavend</dc:creator>
      <dc:date>2018-06-07T20:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210037#M171986</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18960/raghu9raghavendra.html" nodeid="18960"&gt;@raghavendra v&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Were you able to install mysql?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 20:44:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210037#M171986</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-06-11T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-community-server' returned 1. Error: Nothing to do</title>
      <link>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210038#M171987</link>
      <description>&lt;P&gt;installed mariadb and followed this doc for manually installing hive using existing database &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/using_hive_with_mysql.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-administration/content/using_hive_with_mysql.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 21:04:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/resource-management-core-exceptions-ExecutionFailed/m-p/210038#M171987</guid>
      <dc:creator>raghu9raghavend</dc:creator>
      <dc:date>2018-06-11T21:04:35Z</dc:date>
    </item>
  </channel>
</rss>

