incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (AMBARI-3599) MySQL install has error but task completes successfully
Date Fri, 01 Nov 2013 01:09:18 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-3599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mahadev konar reopened AMBARI-3599:
-----------------------------------


This causes MySQL install to fail

> MySQL install has error but task completes successfully
> -------------------------------------------------------
>
>                 Key: AMBARI-3599
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3599
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.0
>            Reporter: Dmytro Shkvyra
>            Assignee: Dmytro Shkvyra
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3599.patch
>
>
> MySQL install has error but task completes successfully
> Install logs:
> {code}
> "stdout" : "notice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: ERROR
2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: + mysql -u root
-e 'GRANT ALL PRIVILEGES ON *.* TO '\\''hive'\\''@'\\''hor10n15.gq1.ygridcore.net'\\'';'\nnotice:
/Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: ERROR 2002 (HY000): Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns:
+ mysql -u root -e 'flush privileges;'\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: + service mysqld
stop\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: Stopping mysqld:
 [  OK  ]\r\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]: Triggered 'refresh'
from 1 events\nnotice: Finished catalog run in 8.12 seconds"
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message