Browse Source

AMBARI-16014. ambari-agent.log gets flooded up with exceptions from status commands (aonishuk)

Andrew Onishuk 9 years ago
parent
commit
a28f1e48e6

+ 1 - 1
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,