[Building Sakai] Search index troubles

Tom Hall thall at brocku.ca
Fri Nov 26 07:15:48 PST 2010


HI Warwick

This looks similar to something we have seen.  Can you please tell me 
how many files are in your searchjournal directory, so that I can be sure.

Tom
On 11/26/2010 1:57 AM, Warwick Chapman wrote:
> Hi All
>
> Any pointers on this issue?
>
> 2010-11-26 08:55:49,283  WARN IndexManager 
> org.sakaiproject.search.optimize.impl.OptimizeIndexOperation - Failed 
> to compete optimize
> org.sakaiproject.search.transaction.api.IndexTransactionException: 
> Failed to prepare
> at 
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.prepare(IndexTransactionImpl.java:157)
> at 
> org.sakaiproject.search.optimize.impl.OptimizeIndexOperation.runOnce(OptimizeIndexOperation.java:90)
> at 
> org.sakaiproject.search.journal.impl.IndexManagementTimerTask.run(IndexManagementTimerTask.java:139)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.IllegalArgumentException: Directory 
> org.apache.lucene.store.SimpleFSDirectory@/opt/sakai/index/index-import/1106 
> appears more than once
> at org.apache.lucene.index.IndexWriter.noDupDirs(IndexWriter.java:3607)
> at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:3544)
> at 
> org.sakaiproject.search.optimize.impl.OptimizeTransactionListenerImpl.prepare(OptimizeTransactionListenerImpl.java:171)
> at 
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.firePrepare(IndexTransactionImpl.java:313)
> at 
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.prepare(IndexTransactionImpl.java:147)
>
> -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101126/13e59e9a/attachment.html 


More information about the sakai-dev mailing list