Created 01-26-2016 03:48 AM
Hi All,
I am having the issue in installing the MySQL when creating the datanode. Help will be appreciated. Sorry for much trouble as I am totally new to it.
Best Regards
David
Created 01-26-2016 03:57 AM
@David Yee review your /etc/yum.repos.d/ directory for HDP-UTILS-1... entry and remove one of the entries. it says you have it listed more than once. Then do yum clean all, yum search mysql.
Created 01-26-2016 03:51 AM
run yum install mysql-community-release manually and retry the install through ambari. Also please post errors as text so it's searchable on the site. When you post photos, other users cannot see the actual issues you're having.
Created 01-26-2016 03:55 AM
Ok sure on posting the errors in text. 🙂
Hi Artem,
I have run the command manually "yum install mysql-community-release" but it gave me the following message.
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos Repository HDP-UTILS-1.1.0.20 is listed more than once in the configuration No package mysql-community-release available. Error: Nothing to do
Best Regards
David
Created 01-26-2016 03:57 AM
@David Yee review your /etc/yum.repos.d/ directory for HDP-UTILS-1... entry and remove one of the entries. it says you have it listed more than once. Then do yum clean all, yum search mysql.
Created 01-26-2016 04:16 AM
@David Yee I converted my comment to answer, if that helps.
Created 02-19-2016 01:56 PM
How exactly do you remove one of the entries? I encountered the same issue as David and am quite new to Linux.
Created 02-19-2016 02:01 PM
ssh root@machine yum repolist cd /etc/yum.repos.d/ vi filename.repo
look for the .repo files that are similar like HDP.repo HDP-UTILS.repo, ambari.repo and find dupes that way with repolist command above, you can get a response saying what is listed twice, then find that file and edit it to remove the duplicate entry. @Mark Thorson
Created 02-19-2016 02:17 PM
I see the files you are talking about (denoted by red arrows) but I don't see any exact duplicates.
Created 02-19-2016 02:20 PM
@Mark Thorson what is the exact issue you're facing? I see you have postgres installed, is that the issue that you're getting errors on dependency? You can uninstall Postgres and ambari-server and try again, ambari-server will pull postgres as part of install automatically. Check the ambari-server requirements for Postgres in our documentation for the right versions, v. 8 and 9 are supported.
Created 02-19-2016 02:50 PM
I am using Ambari to create a new cluster but the install is failing at the MySQL Server install. I am getting the same error message as David included in his screenshot.