Fwd: [hibernate-announce] Java 7 and Hibernate Search

Do we will have the sames issues with ES ?

David :wink:

Début du message transféré :

Expéditeur: Emmanuel Bernard emmanuel@hibernate.org
Date: 29 juillet 2011 09:35:46 HAEC
Destinataire: hibernate-announce@lists.jboss.org
Objet: [hibernate-announce] Java 7 and Hibernate Search

Hi everyone,

A severe optimization bug in Java 7 is affecting the Apache Lucene project which is heavily used by Hibernate Search. If you are using any version of Hibernate Search and contemplate using Java 7, please read.

In one line: do not use or you might get index corruption and VM crashes.

Some details

  • a loop optimization bug is present in Java 7
  • it can lead to either crash or index corruption when running Hibernate Search
  • Oracle is aware of the problem and is working for a fix for update 2 (and maybe update 1)
  • this bug also affect Java 6 VMs assuming you use some VM optimization options (-XX:+OptimizeStringConcat or
    -XX:+AggressiveOpts)

A very nice and detailed explanation of the problem by Uwe from Lucene fame can be found at http://markmail.org/thread/kulrw4sm2nsshrta

We are tracking the problem at https://hibernate.onjira.com/browse/HSEARCH-820

Emmanuel

PS: many kudos to the Lucene community for being so open and reactive


hibernate-announce mailing list
hibernate-announce@lists.jboss.org
hibernate-announce - Jboss List Archives

Heya,

Yea, I was just writing this email to the mailing list as well... . Note,
the index corruption only affects Lucene trunk.

-shay.banon

On Fri, Jul 29, 2011 at 11:09 AM, David Pilato david@pilato.fr wrote:

Do we will have the sames issues with ES ?

David :wink:

Début du message transféré :

Expéditeur: Emmanuel Bernard emmanuel@hibernate.org
Date: 29 juillet 2011 09:35:46 HAEC
Destinataire: hibernate-announce@lists.jboss.org
hibernate-announce@lists.jboss.org
Objet: [hibernate-announce] Java 7 and Hibernate Search

Hi everyone,

A severe optimization bug in Java 7 is affecting the Apache Lucene project
which is heavily used by Hibernate Search. If you are using any version of
Hibernate Search and contemplate using Java 7, please read.

In one line: do not use or you might get index corruption and VM crashes.

Some details

  • a loop optimization bug is present in Java 7
  • it can lead to either crash or index corruption when running Hibernate
    Search
  • Oracle is aware of the problem and is working for a fix for update 2 (and
    maybe update 1)
  • this bug also affect Java 6 VMs assuming you use some VM optimization
    options (-XX:+OptimizeStringConcat or
    -XX:+AggressiveOpts)

A very nice and detailed explanation of the problem by Uwe from Lucene fame
can be found at http://markmail.org/thread/kulrw4sm2nsshrta
http://markmail.org/thread/kulrw4sm2nsshrta

We are tracking the problem at
https://hibernate.onjira.com/browse/HSEARCH-820
https://hibernate.onjira.com/browse/HSEARCH-820

Emmanuel

PS: many kudos to the Lucene community for being so open and reactive


hibernate-announce mailing list
hibernate-announce@lists.jboss.org
hibernate-announce - Jboss List Archives

Hey Shay,
Does it mean that ES versions based on Lucene 3.3 does not suffer no matter
which JVM version they are running on?
Rgds,
Lukas
Dne 29.7.2011 10:12 "Shay Banon" kimchy@gmail.com napsal(a):

Heya,

Yea, I was just writing this email to the mailing list as well... . Note,
the index corruption only affects Lucene trunk.

-shay.banon

On Fri, Jul 29, 2011 at 11:09 AM, David Pilato david@pilato.fr wrote:

Do we will have the sames issues with ES ?

David :wink:

Début du message transféré :

Expéditeur: Emmanuel Bernard emmanuel@hibernate.org
Date: 29 juillet 2011 09:35:46 HAEC
Destinataire: hibernate-announce@lists.jboss.org
hibernate-announce@lists.jboss.org
Objet: [hibernate-announce] Java 7 and Hibernate Search

Hi everyone,

A severe optimization bug in Java 7 is affecting the Apache Lucene
project
which is heavily used by Hibernate Search. If you are using any version
of
Hibernate Search and contemplate using Java 7, please read.

In one line: do not use or you might get index corruption and VM crashes.

Some details

  • a loop optimization bug is present in Java 7
  • it can lead to either crash or index corruption when running Hibernate
    Search
  • Oracle is aware of the problem and is working for a fix for update 2
    (and
    maybe update 1)
  • this bug also affect Java 6 VMs assuming you use some VM optimization
    options (-XX:+OptimizeStringConcat or
    -XX:+AggressiveOpts)

A very nice and detailed explanation of the problem by Uwe from Lucene
fame
can be found at http://markmail.org/thread/kulrw4sm2nsshrta
http://markmail.org/thread/kulrw4sm2nsshrta

We are tracking the problem at
https://hibernate.onjira.com/browse/HSEARCH-820
https://hibernate.onjira.com/browse/HSEARCH-820

Emmanuel

PS: many kudos to the Lucene community for being so open and reactive


hibernate-announce mailing list
hibernate-announce@lists.jboss.org
hibernate-announce - Jboss List Archives

There is definitely a problem with the porter stemmer (sigserv), my comment
was about index corruption.

On Fri, Jul 29, 2011 at 11:16 AM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Hey Shay,
Does it mean that ES versions based on Lucene 3.3 does not suffer no matter
which JVM version they are running on?
Rgds,
Lukas
Dne 29.7.2011 10:12 "Shay Banon" kimchy@gmail.com napsal(a):

Heya,

Yea, I was just writing this email to the mailing list as well... . Note,
the index corruption only affects Lucene trunk.

-shay.banon

On Fri, Jul 29, 2011 at 11:09 AM, David Pilato david@pilato.fr wrote:

Do we will have the sames issues with ES ?

David :wink:

Début du message transféré :

Expéditeur: Emmanuel Bernard emmanuel@hibernate.org
Date: 29 juillet 2011 09:35:46 HAEC
Destinataire: hibernate-announce@lists.jboss.org
hibernate-announce@lists.jboss.org
Objet: [hibernate-announce] Java 7 and Hibernate Search

Hi everyone,

A severe optimization bug in Java 7 is affecting the Apache Lucene
project
which is heavily used by Hibernate Search. If you are using any version
of
Hibernate Search and contemplate using Java 7, please read.

In one line: do not use or you might get index corruption and VM
crashes.

Some details

  • a loop optimization bug is present in Java 7
  • it can lead to either crash or index corruption when running Hibernate
    Search
  • Oracle is aware of the problem and is working for a fix for update 2
    (and
    maybe update 1)
  • this bug also affect Java 6 VMs assuming you use some VM optimization
    options (-XX:+OptimizeStringConcat or
    -XX:+AggressiveOpts)

A very nice and detailed explanation of the problem by Uwe from Lucene
fame
can be found at http://markmail.org/thread/kulrw4sm2nsshrta
http://markmail.org/thread/kulrw4sm2nsshrta

We are tracking the problem at
https://hibernate.onjira.com/browse/HSEARCH-820
https://hibernate.onjira.com/browse/HSEARCH-820

Emmanuel

PS: many kudos to the Lucene community for being so open and reactive


hibernate-announce mailing list
hibernate-announce@lists.jboss.org
hibernate-announce - Jboss List Archives