Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 6d00ee5d5 -> 96dcf8bb5


AMBARI-19608 Log Search support livy2 server logs (mgergely)

Change-Id: Ic238e196c38f2d801ba660debf88dbd6336f9eb7


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/96dcf8bb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/96dcf8bb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/96dcf8bb

Branch: refs/heads/branch-2.5
Commit: 96dcf8bb56719fd0c520da4b1a10cc9fb7a2b9e0
Parents: 6d00ee5
Author: Miklos Gergely <[email protected]>
Authored: Thu Jan 19 00:40:45 2017 +0100
Committer: Miklos Gergely <[email protected]>
Committed: Thu Jan 19 00:40:45 2017 +0100

----------------------------------------------------------------------
 .../SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml  | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/96dcf8bb/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml
 
b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml
index 3b00d51..cb71c6b 100644
--- 
a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml
+++ 
b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/configuration/spark2-logsearch-conf.xml
@@ -31,7 +31,7 @@
     <name>component_mappings</name>
     <display-name>Component mapping</display-name>
     <description>Logsearch component logid mapping list (e.g.: 
COMPONENT1:logid1,logid2;COMPONENT2:logid3)</description>
-    
<value>SPARK2_JOBHISTORYSERVER:spark2_jobhistory_server;SPARK2_THRIFTSERVER:spark2_thriftserver</value>
+    
<value>SPARK2_JOBHISTORYSERVER:spark2_jobhistory_server;SPARK2_THRIFTSERVER:spark2_thriftserver;LIVY2_SERVER:livy2_server</value>
     <on-ambari-upgrade add="true"/>
   </property>
   <property>
@@ -50,6 +50,11 @@
        "type":"spark2_thriftserver",
        "rowtype":"service",
        "path":"{{default('/configurations/spark2-env/spark_log_dir', 
'/var/log/spark2')}}/spark-*-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2*.out"
+     },
+     {
+       "type":"livy2_server",
+       "rowtype":"service",
+       "path":"{{default('/configurations/livy2-env/livy2_log_dir', 
'/var/log/livy2')}}/livy-livy-server.out"
      }
    ],
    "filter":[
@@ -59,7 +64,8 @@
             "fields":{
               "type":[
                 "spark2_jobhistory_server",
-                "spark2_thriftserver"
+                "spark2_thriftserver",
+                "livy2_server"
               ]
              }
           },

Reply via email to