You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2016/04/26 12:00:22 UTC

ambari git commit: AMBARI-16110. Need to decrease mergeFactor to enable purge of documents more often (Bosco Durai via oleewere)

Repository: ambari
Updated Branches:
  refs/heads/trunk 9f10816fc -> 75aae4551


AMBARI-16110. Need to decrease mergeFactor to enable purge of documents more often (Bosco Durai via oleewere)


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

Branch: refs/heads/trunk
Commit: 75aae4551069b435caeb4e59b31c45f6d2e83e03
Parents: 9f10816
Author: oleewere <ol...@gmail.com>
Authored: Tue Apr 26 11:56:33 2016 +0200
Committer: oleewere <ol...@gmail.com>
Committed: Tue Apr 26 11:57:54 2016 +0200

----------------------------------------------------------------------
 .../LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2    | 6 +++---
 .../LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/75aae455/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2 b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
index 6f34b60..eb71d6f 100644
--- a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
+++ b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
@@ -236,8 +236,8 @@ this file, see http://wiki.apache.org/solr/SolrConfigXml.
     <!--
     <mergeFactor>10</mergeFactor>
     -->
-    <!-- LogSearch customization. Increased to 25 to maximize indexing speed -->
-    <mergeFactor>25</mergeFactor>
+    <!-- LogSearch customization. Set to 5 to trigger purging of deleted documents more often -->
+    <mergeFactor>5</mergeFactor>
 
     <!-- Expert: Merge Scheduler
     The Merge Scheduler in Lucene controls how merges are
@@ -1884,4 +1884,4 @@ this file, see http://wiki.apache.org/solr/SolrConfigXml.
     <defaultQuery>*:*</defaultQuery>
   </admin>
 
-</config>
\ No newline at end of file
+</config>

http://git-wip-us.apache.org/repos/asf/ambari/blob/75aae455/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2 b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2
index e02ecc4..b3e4dbf 100644
--- a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2
+++ b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2
@@ -236,8 +236,8 @@ this file, see http://wiki.apache.org/solr/SolrConfigXml.
     <!--
     <mergeFactor>10</mergeFactor>
     -->
-    <!-- LogSearch customization. Increased to 25 to maximize indexing speed -->
-    <mergeFactor>25</mergeFactor>
+    <!-- LogSearch customization. Set to 5 to trigger purging of deleted documents more often -->
+    <mergeFactor>5</mergeFactor>
 
     <!-- Expert: Merge Scheduler
     The Merge Scheduler in Lucene controls how merges are
@@ -1884,4 +1884,4 @@ this file, see http://wiki.apache.org/solr/SolrConfigXml.
     <defaultQuery>*:*</defaultQuery>
   </admin>
 
-</config>
\ No newline at end of file
+</config>