You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Yogesh Dabhi <yd...@asite.com> on 2011/04/20 14:32:52 UTC

Locking Issue with Concurrency

 

Three Instance of My application & they access common lucene directory

 

Instance1 jdk64 ,64 os

Instance2 jdk64 ,64 os

Instance3 jdk32 ,32 os

 

When I access folder from Instance1 I got bellow error

 

An unexpected network error occurred

 

I see the index folder there is one .lock file

 

But for other two Instances its working fine 

 

Before locking all thing working fine

 

is there a way to handle such error

 

 

 

Thanks & Regards

Yogesh


Re: Locking Issue with Concurrency

Posted by yogesh <yd...@asite.com>.
i search the data i got error An unexpected network error occurred 

--
View this message in context: http://lucene.472066.n3.nabble.com/Locking-Issue-with-Concurrency-tp2842509p2846120.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Locking Issue with Concurrency

Posted by Erick Erickson <er...@gmail.com>.
What do you mean by "access"? Are you trying to write to the
common index with more than one of your machines?

Best
Erick

On Wed, Apr 20, 2011 at 8:32 AM, Yogesh Dabhi <yd...@asite.com> wrote:
>
>
> Three Instance of My application & they access common lucene directory
>
>
>
> Instance1 jdk64 ,64 os
>
> Instance2 jdk64 ,64 os
>
> Instance3 jdk32 ,32 os
>
>
>
> When I access folder from Instance1 I got bellow error
>
>
>
> An unexpected network error occurred
>
>
>
> I see the index folder there is one .lock file
>
>
>
> But for other two Instances its working fine
>
>
>
> Before locking all thing working fine
>
>
>
> is there a way to handle such error
>
>
>
>
>
>
>
> Thanks & Regards
>
> Yogesh
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org