metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [38/44] metron git commit: METRON-949 Change from error to warning message for Metron REST in Ambari service_advisor (anandsubbu via leet) closes apache/metron#583
Date Thu, 01 Jun 2017 21:41:57 GMT
METRON-949 Change from error to warning message for Metron REST in Ambari service_advisor (anandsubbu
via leet) closes apache/metron#583


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/1a0e8f25
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/1a0e8f25
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/1a0e8f25

Branch: refs/heads/Metron_0.4.0
Commit: 1a0e8f252a7a59fc6328b6fa008bc1f45387ac5e
Parents: ae05f38
Author: anandsubbu <anandsubbu@gmail.com>
Authored: Tue May 30 10:15:14 2017 -0400
Committer: YOUR NAME as In Apache <YOU@apache.org>
Committed: Tue May 30 10:15:14 2017 -0400

----------------------------------------------------------------------
 .../resources/common-services/METRON/CURRENT/service_advisor.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/1a0e8f25/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
----------------------------------------------------------------------
diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
index 464857a..7da06f5 100644
--- a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
+++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
@@ -66,7 +66,7 @@ class METRON${metron.short.version}ServiceAdvisor(service_advisor.ServiceAdvisor
 
         if metronRESTHost not in stormSupervisors:
             message = "Metron REST must be colocated with an instance of STORM SUPERVISOR"
-            items.append({ "type": 'host-component', "level": 'ERROR', "message": message,
"component-name": 'METRON_REST', "host": metronRESTHost })
+            items.append({ "type": 'host-component', "level": 'WARN', "message": message,
"component-name": 'METRON_REST', "host": metronRESTHost })
 
         if metronParsersHost != metronEnrichmentMaster:
             message = "Metron Enrichment Master must be co-located with Metron Parsers on
{0}".format(metronParsersHost)


Mime
View raw message