Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Solr Autocommit doesn' delete tlog

Highlighted

Solr Autocommit doesn' delete tlog

Explorer

Dear all,

 

I noticed a particular problem on my solr instance based on cloudera.

When I check for index directory size on hdfs server with

sudo su -c 'hdfs dfs -du -h /solr/ 

command

I find that every my index occupies more than 1G even if the data dimension is of some KB.

I checked in the directory and the tolg directory contains few file of few bytes but that occupy an entire block of 128MB. So few files

corresponds to several MB o even GB

 

I checked on this and other forums and I found that the commit parameter will help to force deletion of old transactionLog but even 

if I insert commit parameter to 1 a new transaction log is created but the old ones are not deleted.

 

How can I delete old tlog. I have to delete manually??

 

Thanks in advance

 

D.

 

Don't have an account?
Coming from Hortonworks? Activate your account here