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/ad515901 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ad515901 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ad515901 Branch: refs/heads/branch-dev-patch-upgrade Commit: ad5159014a3f30d931a5c67f3b1766dd71cc4002 Parents: 1a225bd Author: Miklos Gergely <mgerg...@hortonworks.com> Authored: Mon Oct 3 16:09:10 2016 +0200 Committer: oleewere <oleew...@gmail.com> Committed: Sat Nov 5 16:08:54 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/ad515901/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/ad515901/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" ] }