ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: Revert "AMBARI-3599. MySQL install has error but task completes successfully (Dmytro Shkvyra via dlysnichenko)"
Date Fri, 01 Nov 2013 01:08:38 GMT
Updated Branches:
  refs/heads/trunk 895fd88ec -> c864766af


Revert "AMBARI-3599. MySQL install has error but task completes successfully (Dmytro Shkvyra
via dlysnichenko)"

This reverts commit 6dcda0d511b979608cf528a1a31edf24f8d02981.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/c864766a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/c864766a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/c864766a

Branch: refs/heads/trunk
Commit: c864766af610ea1807e0a46a66f836169ebc940d
Parents: 895fd88
Author: Mahadev Konar <mahadev@apache.org>
Authored: Thu Oct 31 18:10:40 2013 -0700
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Thu Oct 31 18:10:40 2013 -0700

----------------------------------------------------------------------
 .../src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh         | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/c864766a/ambari-agent/src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh b/ambari-agent/src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh
index 4789a21..8c12260 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh
+++ b/ambari-agent/src/main/puppet/modules/hdp-mysql/files/addMysqlUser.sh
@@ -27,7 +27,6 @@ mysqldbhost=$4
 myhostname=$(hostname -f)
 
 service $mysqldservice start
-set -e
 echo "Adding user $mysqldbuser@$mysqldbhost and $mysqldbuser@localhost"
 mysql -u root -e "CREATE USER '$mysqldbuser'@'$mysqldbhost' IDENTIFIED BY '$mysqldbpasswd';"
 mysql -u root -e "CREATE USER '$mysqldbuser'@'localhost' IDENTIFIED BY '$mysqldbpasswd';"


Mime
View raw message