AMBARI-18293. Enable log search for NIFI_CA component (Miklos Gergely via 
oleewere)

Change-Id: I62deb855422f53c8069f4b75a7621cdeb596846f


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

Branch: refs/heads/logsearch-ga
Commit: 0c73672127b0a8033a6cf3efd6c1caf4c1ed97d0
Parents: d716420
Author: Miklos Gergely <[email protected]>
Authored: Mon Oct 3 16:09:10 2016 +0200
Committer: oleewere <[email protected]>
Committed: Sat Nov 5 14:46:45 2016 +0100

----------------------------------------------------------------------
 .../0.5.0/package/templates/HadoopServiceConfig.json.j2       | 3 +++
 .../0.5.0/package/templates/input.config-nifi.json.j2         | 7 ++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0c736721/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/HadoopServiceConfig.json.j2
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/HadoopServiceConfig.json.j2
 
b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/HadoopServiceConfig.json.j2
index 9ce3fde..7982631 100644
--- 
a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/HadoopServiceConfig.json.j2
+++ 
b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/HadoopServiceConfig.json.j2
@@ -281,6 +281,9 @@
         },
         {
           "name": "nifi_user"
+        },
+        {
+          "name": "nifi_ca"
         }
       ],
       "dependencies": [

http://git-wip-us.apache.org/repos/asf/ambari/blob/0c736721/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/input.config-nifi.json.j2
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/input.config-nifi.json.j2
 
b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/input.config-nifi.json.j2
index 99f1740..fe5c426 100644
--- 
a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/input.config-nifi.json.j2
+++ 
b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/input.config-nifi.json.j2
@@ -36,8 +36,12 @@
       "type":"nifi_user",
       "rowtype":"service",
       "path":"{{nifi_log_dir}}/nifi-user.log"
+    },
+    {
+      "type":"nifi_ca",
+      "rowtype":"service",
+      "path":"{{nifi_log_dir}}/nifi-ca.stdout"
     }
-
   ],
   "filter":[
     {
@@ -49,6 +53,7 @@
             "nifi_bootstrap",
             "nifi_setup",
             "nifi_user",
+            "nifi_ca"
           ]
 
         }

Reply via email to