You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Rafał Kuć <r....@solr.pl> on 2012/02/06 11:04:22 UTC
Replication problem on windows
Hello!
We have Solr running on Windows. Once in a while we see a problem with
replication failing. While slave server replicates the index, it throws
exception like the following:
SEVERE: Unable to copy index file from: D:\web\solr\collection\data\index.20111025100000\_3s.fdt
to: D:\web\solr\Collection\data\index\_3s.fdt java.io.FileNotFoundException:
D:\web\solr\collection\data\index.20111025100000\_3s.fdt (The system cannot find the file specified)
We've added <commitReserveDuration> to the master server
configuration, but it didn't change that situation, the error still
happens once in a while.
Did anyone encounter such error ?
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Re: Replication problem on windows
Posted by Rafał Kuć <r....@solr.pl>.
Hello!
Thanks for the answer Shawn.
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> On 2/6/2012 3:04 AM, Rafał Kuć wrote:
>> Hello!
>>
>> We have Solr running on Windows. Once in a while we see a problem with
>> replication failing. While slave server replicates the index, it throws
>> exception like the following:
>>
>> SEVERE: Unable to copy index file from: D:\web\solr\collection\data\index.20111025100000\_3s.fdt
>> to: D:\web\solr\Collection\data\index\_3s.fdt java.io.FileNotFoundException:
>> D:\web\solr\collection\data\index.20111025100000\_3s.fdt (The system cannot find the file specified)
>>
>> We've added<commitReserveDuration> to the master server
>> configuration, but it didn't change that situation, the error still
>> happens once in a while.
>>
>> Did anyone encounter such error ?
> I found another old mailing list entry by searching google for your
> error message without filename/path.
> It looked like they solved it by adding/updating the following config
> line, found in solrconfig.xml in deletionPolicy, which is found in
> mainIndex. Increasing that number will increase the on-disk size of the
> index on your master server.
> <str name="maxCommitsToKeep">2</str>
> The directory paths in their error messages look exactly like yours,
> down the the difference in case between the from and to strings, so I
> fear that I am pointing you at information that you already have.
> http://www.xkcd.com/979/
> Thanks,
> Shawn
Re: Replication problem on windows
Posted by Shawn Heisey <so...@elyograg.org>.
On 2/6/2012 3:04 AM, Rafał Kuć wrote:
> Hello!
>
> We have Solr running on Windows. Once in a while we see a problem with
> replication failing. While slave server replicates the index, it throws
> exception like the following:
>
> SEVERE: Unable to copy index file from: D:\web\solr\collection\data\index.20111025100000\_3s.fdt
> to: D:\web\solr\Collection\data\index\_3s.fdt java.io.FileNotFoundException:
> D:\web\solr\collection\data\index.20111025100000\_3s.fdt (The system cannot find the file specified)
>
> We've added<commitReserveDuration> to the master server
> configuration, but it didn't change that situation, the error still
> happens once in a while.
>
> Did anyone encounter such error ?
I found another old mailing list entry by searching google for your
error message without filename/path.
It looked like they solved it by adding/updating the following config
line, found in solrconfig.xml in deletionPolicy, which is found in
mainIndex. Increasing that number will increase the on-disk size of the
index on your master server.
<str name="maxCommitsToKeep">2</str>
The directory paths in their error messages look exactly like yours,
down the the difference in case between the from and to strings, so I
fear that I am pointing you at information that you already have.
http://www.xkcd.com/979/
Thanks,
Shawn