ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oleew...@apache.org
Subject [2/6] ambari git commit: AMBARI-16304. Fixed Typo in logfeeder property name (Hayat Behlim via oleewere)
Date Tue, 10 May 2016 09:55:45 GMT
AMBARI-16304. Fixed Typo in logfeeder property name (Hayat Behlim via oleewere)


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

Branch: refs/heads/trunk
Commit: 796c2fe0c47115cab476fc4ea4e427e7c0dc3f42
Parents: 24b2391
Author: oleewere <oleewere@gmail.com>
Authored: Tue May 10 01:11:37 2016 +0200
Committer: oleewere <oleewere@gmail.com>
Committed: Tue May 10 11:34:51 2016 +0200

----------------------------------------------------------------------
 .../org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java | 2 +-
 .../src/main/resources/logfeeder.properties                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/796c2fe0/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java
b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java
index e645a3d..1f86dd0 100644
--- a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java
+++ b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/logconfig/FetchConfigFromSolr.java
@@ -52,7 +52,7 @@ public class FetchConfigFromSolr extends Thread {
       logger.warn("Solr ZKHosts for UserConfig/History is not set. Won't look for level configuration
from Solr.");
       return;
     }
-    solrConfigInterval = LogFeederUtil.getIntProperty("logfeeder.solr.config.internal", solrConfigInterval);
+    solrConfigInterval = LogFeederUtil.getIntProperty("logfeeder.solr.config.interval", solrConfigInterval);
     delay = 1000 * solrConfigInterval;
     do {
       logger.debug("Updating config from solr after every " + solrConfigInterval + " sec.");

http://git-wip-us.apache.org/repos/asf/ambari/blob/796c2fe0/ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
index 22f3b78..91f4ffb 100644
--- a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
+++ b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/resources/logfeeder.properties
@@ -22,4 +22,4 @@ logfeeder.solr.zkhosts=
 logfeeder.solr.core.history=history
 logfeeder.log.filter.enable=true
 #Internal to fetch filter config from solr in sec
-logfeeder.solr.config.internal=5
\ No newline at end of file
+logfeeder.solr.config.interval=5
\ No newline at end of file


Mime
View raw message