Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5DD17A70 for ; Fri, 28 Oct 2011 08:10:56 +0000 (UTC) Received: (qmail 37840 invoked by uid 500); 28 Oct 2011 08:10:55 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 37762 invoked by uid 500); 28 Oct 2011 08:10:55 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 37614 invoked by uid 99); 28 Oct 2011 08:10:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 08:10:55 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 08:10:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2A954324D04 for ; Fri, 28 Oct 2011 08:08:32 +0000 (UTC) Date: Fri, 28 Oct 2011 08:08:32 +0000 (UTC) From: "Uwe Schindler (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1490000909.30540.1319789312176.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <486516174.17519.1319624372128.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3537) Add note about Java 7u1 and 6u29 to Lucene/Solr sites MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138160#comment-13138160 ] Uwe Schindler commented on LUCENE-3537: --------------------------------------- There are several bugs, a complete report is here: - [Main article|http://blog.thetaphi.de/2011/07/real-story-behind-java-7-ga-bugs.html] - [Explanation of the string concat issues, this explains why StringConcat optimizations trigger this|http://blog.thetaphi.de/2011/10/gotocon-aarhus-2011.html] - [Discussion about the update release|http://blog.thetaphi.de/2011/10/java-7-update-1-released-does-it-fix.html] In general: Use a recent JVM and don't use experimental tuning options. Otherwise you risk data loss. The Porter Stemmer SIGSEGV bug simply crashes the JVM and is caused by the String optimization. The Data Corruption issues are triggered by loop optimizations and cannot be prevented in Java 7 without u1 or significant performance loss (I emphasize: *significant*). In Java 6 with AggressiveOpts enabled, the index corruption can also occur but more seldom (it is not easy to reproduce). > Add note about Java 7u1 and 6u29 to Lucene/Solr sites > ----------------------------------------------------- > > Key: LUCENE-3537 > URL: https://issues.apache.org/jira/browse/LUCENE-3537 > Project: Lucene - Java > Issue Type: Task > Components: general/website > Reporter: Uwe Schindler > > Oracle confirmed, that the bugs leading to index corruption and SIGSEGV are fixed in Java 7u1 and 6u29. We should post a message to the news sections revising the previous WARNING (LUCENE-3349). I prepared something, please comment before i commit: > {code:xml} >
26 October 2011 - Java 7u1 fixes index corruption and crash bugs in Apache Lucene Core and Apache Solr >

Oracle released Java 7u1 on October 19. > According to the release notes and tests done by the Lucene committers, all bugs reported on July 28 are fixed in this release, > so code using Porter stemmer no longer crashes with SIGSEGV. We were not able to experience any index corruption anymore, > so it is safe to use Java 7u1 with Lucene Core and Solr.

>

On the same day, Oracle released Java 6u29 > fixing the same problems occurring with Java 6, if the JVM switches -XX:+AggressiveOpts > or -XX:+OptimizeStringConcat were used. Of course, you should not use experimental JVM options like > -XX:+AggressiveOpts in production environments! We recommend everybody to upgrade to this latest version 6u29.

>

In case you upgrade to Java 7, remember that you may have to reindex, as the unicode > version shipped with Java 7 changed and tokenization behaves differently > (e.g. lowercasing). For more information, read JRE_VERSION_MIGRATION.txt > in your distribution package!

>
> {code} > I plan to commit this later this afternoon. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org