You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/06/16 11:57:49 UTC
Review Request 22625: MySQL Server won't stop during StopAll operation
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22625/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.
Bugs: AMBARI-6130
https://issues.apache.org/jira/browse/AMBARI-6130
Repository: ambari
Description
-------
When stopping all services, MySQL is skipped with the following output:
2014-06-10 17:30:06,412 - Execute['sed -i 's|^bind-address[ ]*=.*|bind-address = 0.0.0.0|' /etc/my.cnf'] {}
2014-06-10 17:30:06,606 - Execute['service mysqld stop'] {'logoutput': True, 'not_if': 'service mysqld status | grep running'}
2014-06-10 17:30:06,642 - Skipping Execute['service mysqld stop'] due to not_if
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/mysql_service.py f06fa71
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_mysql_server.py 67a5d23
Diff: https://reviews.apache.org/r/22625/diff/
Testing
-------
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [5.162s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.351s]
[INFO] Ambari Web ........................................ SUCCESS [4:00.624s]
[INFO] Ambari Views ...................................... SUCCESS [2.965s]
[INFO] Ambari Server ..................................... SUCCESS [13:25.946s]
[INFO] Ambari Agent ...................................... SUCCESS [4.552s]
[INFO] Ambari Client ..................................... SUCCESS [0.070s]
[INFO] Ambari Python Client .............................. SUCCESS [1.029s]
[INFO] Ambari Groovy Client .............................. SUCCESS [6.117s]
[INFO] Ambari Shell ...................................... SUCCESS [7.005s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
Thanks,
Dmytro Sen
Re: Review Request 22625: MySQL Server won't stop during StopAll operation
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22625/#review45728
-----------------------------------------------------------
Ship it!
Ship It!
- Andrew Onischuk
On June 16, 2014, 9:57 a.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22625/
> -----------------------------------------------------------
>
> (Updated June 16, 2014, 9:57 a.m.)
>
>
> Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.
>
>
> Bugs: AMBARI-6130
> https://issues.apache.org/jira/browse/AMBARI-6130
>
>
> Repository: ambari
>
>
> Description
> -------
>
> When stopping all services, MySQL is skipped with the following output:
> 2014-06-10 17:30:06,412 - Execute['sed -i 's|^bind-address[ ]*=.*|bind-address = 0.0.0.0|' /etc/my.cnf'] {}
> 2014-06-10 17:30:06,606 - Execute['service mysqld stop'] {'logoutput': True, 'not_if': 'service mysqld status | grep running'}
> 2014-06-10 17:30:06,642 - Skipping Execute['service mysqld stop'] due to not_if
>
>
> Diffs
> -----
>
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/mysql_service.py f06fa71
> ambari-server/src/test/python/stacks/2.0.6/HIVE/test_mysql_server.py 67a5d23
>
> Diff: https://reviews.apache.org/r/22625/diff/
>
>
> Testing
> -------
>
> [INFO]
> [INFO] Ambari Main ....................................... SUCCESS [5.162s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.351s]
> [INFO] Ambari Web ........................................ SUCCESS [4:00.624s]
> [INFO] Ambari Views ...................................... SUCCESS [2.965s]
> [INFO] Ambari Server ..................................... SUCCESS [13:25.946s]
> [INFO] Ambari Agent ...................................... SUCCESS [4.552s]
> [INFO] Ambari Client ..................................... SUCCESS [0.070s]
> [INFO] Ambari Python Client .............................. SUCCESS [1.029s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [6.117s]
> [INFO] Ambari Shell ...................................... SUCCESS [7.005s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
>
>
> Thanks,
>
> Dmytro Sen
>
>