Repository: ambari Updated Branches: refs/heads/trunk 0a336e156 -> a28f1e48e
AMBARI-16014. ambari-agent.log gets flooded up with exceptions from status commands (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a28f1e48 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a28f1e48 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a28f1e48 Branch: refs/heads/trunk Commit: a28f1e48e6a85ddba3c138559ce59f1bfb4b4cbf Parents: 0a336e1 Author: Andrew Onishuk <[email protected]> Authored: Sun Apr 24 13:34:15 2016 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Sun Apr 24 13:34:35 2016 +0300 ---------------------------------------------------------------------- .../HIVE/0.12.0.2.0/package/scripts/mysql_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a28f1e48/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_service.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_service.py b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_service.py index bba5ce1..8b98ed1 100644 --- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_service.py +++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_service.py @@ -29,7 +29,7 @@ def mysql_service(daemon_name=None, action='start'): try: Execute(status_cmd) except Fail: - ComponentIsNotRunning() + raise ComponentIsNotRunning() elif action == 'stop': import params Execute(cmd,
