Re: Lucene IOException

Cédric Chantepie <[email protected]> Fri, 20 Jun 2008 17:09:14 +0200
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
HENRY Pierre a =E9crit :
> Hi !
>
> Since a few days, I get the following Exception from time to time in my p=
roduction Jahia instance.
>
> It has no apparent effets on the working of the site. We don't use the Lu=
cene search engine.
>
> Still it can't be good...
>
> It looks like a file must be corrupt or something ?
>
> Any help on this welcome !
>
> 647908 [Background content indexing] ERROR - Error while optimizing index
> java.io.IOException: read past EOF
>         at org.apache.lucene.store.FSInputStream.readInternal(FSDirectory=
.java:422)
>         at org.apache.lucene.store.InputStream.readBytes(InputStream.java=
:61)
>         at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java=
:356)
>         at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java=
:323)
>         at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger=
.java:422)
>         at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java=
:94)
>         at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.=
java:487)
>         at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:=
366)
>         at org.jahia.services.search.JahiaSearchBaseService.optimizeIndex=
(JahiaSearchBaseService.java:1019)
>         at org.jahia.services.search.JahiaSearchBaseService.optimizeAllIn=
dexes(JahiaSearchBaseService.java:1265)
>         at org.jahia.services.search.JahiaSearchBaseService.run(JahiaSear=
chBaseService.java:1228)
>         at java.lang.Thread.run()V(Unknown Source)
>
>
> Best regards,
>
> Pierre Henry
> _______________________________________________
> install_list mailing list
> [email protected]
> http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list
>   =

Hello Pierre,

Seing your exception I think the periodic indexing has some trouble with =

a corrupted lucene directory index. Maybe an indexing has failed and now =

it is in trouble. If you have any backup of it, try to restore from =

there. I don't sufficiently know Jahia code about Lucene integration to =

confirm you that if you remove lucene index directory it would be =

re-created the next time periodic task was fired, but you may try ensure =

that if you don't have backup.

-- =

C=E9dric Chantepie - mailto:[email protected]
Architecte des syst=E8mes d'information
NOZICAA (Groupe SIGIRE) - http://www.nozicaa.com
20 rue de Sardaigne - Z.A. du Danemark - 72100 LE MANS
Tel: +33 (0) 243 82 97 97
Fax: +33 (0) 243 82 97 99



_______________________________________________
install_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list