-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Index Corruption
PostPosted: Thu Apr 18, 2013 1:46 pm 
Newbie

Joined: Mon Nov 26, 2012 2:34 pm
Posts: 6
Hi,

We recently started seeing some exceptions pop up and I'm having a hard time understanding what is happening.

We didn't notice this at first but apparently we have been getting a "Unable to Synchronize Source" exception for about the last week then the other morning our software failed to start up getting the following exception.

Code:
java.io.FileNotFoundException: /var/tmp/tool/lucene/index/cnwk.tool.model.submission.Submission/_1g.prx
(No such file or directory)
Caused by: org.hibernate.HibernateException: could not init listeners
Caused by: org.hibernate.search.SearchException: Unable to open Lucene
IndexReader
Caused by: java.io.FileNotFoundException: /var/tmp/tool/lucene/index/cnwk.tool.model.submission.Submission/_1g.prx
(No such file or directory)


Since this caused the software to fail to work in any way we have had to disable hibernate search until we get this sorted out.

The index is being distributed across 3 machines using JMS (Active MQ). We are using Hibernate 3.6.3.Final and Hibernate Search 3.4.0.FINAL (an upgrade to 4.x is in process). All of this is running in Resin 4.0.30.

Any idea what the problem could be and what I can do to fix it? I'll be glad to provide more details if they are needed just let me know!

Thanks!


Top
 Profile  
 
 Post subject: Re: Index Corruption
PostPosted: Mon Apr 22, 2013 12:09 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
are you able to verify if the reference index on the master is also corrupt?
It would help if you could understand if the problem is to be identified in the "copy to slaves" process or if the master produced a corrupt index.

Is there an initial exception which could be the ultimate cause of this? Please try digging in the logs for the first exception.

Besides identifying the problem, are you able to get it to recover? Worse case I'd suggest to delete the indexes and trigger an index rebuild using the MassIndexer on the master.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.