Repository: ambari Updated Branches: refs/heads/trunk 1f3745397 -> 167baf39e
[WinTP2] Oozie Alert: Oozie Server Status alert fires on Windows (jluniya) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/167baf39 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/167baf39 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/167baf39 Branch: refs/heads/trunk Commit: 167baf39e9f1a2c09a9102ce7e850c32d6e15f4b Parents: 1f37453 Author: Jayush Luniya <[email protected]> Authored: Tue Jun 2 17:01:16 2015 -0700 Committer: Jayush Luniya <[email protected]> Committed: Tue Jun 2 17:01:16 2015 -0700 ---------------------------------------------------------------------- ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/167baf39/ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py b/ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py index fafecac..1263195 100644 --- a/ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py +++ b/ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py @@ -96,7 +96,7 @@ class ScriptAlert(BaseAlert): # try to get basedir for scripts # it's needed for server side scripts to properly use resource management - matchObj = re.match( r'((.*)services\/(.*)\/package\/)', self.path_to_script) + matchObj = re.match( r'((.*)services(.*)package)', self.path_to_script) if matchObj: basedir = matchObj.group(1) Logger.logger = logging.getLogger('resource_management')
