[ 
https://issues.apache.org/jira/browse/AMBARI-16110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257995#comment-15257995
 ] 

Hudson commented on AMBARI-16110:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4738 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4738/])
AMBARI-16110. Need to decrease mergeFactor to enable purge of documents 
(oleewere: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=75aae4551069b435caeb4e59b31c45f6d2e83e03])
* 
ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
* 
ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2


> LogSearch: Need to decrease mergeFactor to enable purge of documents more 
> often
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-16110
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16110
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Don Bosco Durai
>            Assignee: Olivér Szabó
>             Fix For: 2.4.0
>
>
> LogSearch deletes logs older than 7 days (by default). The indexed documents 
> doesn't get purged until the segments are merged. Currently the mergeFactor 
> is 25, which is pretty large. If documents are not purged, then the indexes 
> occupy disk and memory. 
> It is better to make the mergeFactor value to be 5 and let Solr purge deleted 
> documents more regularly.
> The following 2 files needs to be updated:
> ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/audit_logs-solrconfig.xml.j2
> ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/properties/service_logs-solrconfig.xml.j2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to