lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1151993 - in /lucene/java/site: docs/ docs/skin/ src/documentation/content/xdocs/
Date Thu, 28 Jul 2011 20:40:29 GMT
Author: uschindler
Date: Thu Jul 28 20:40:26 2011
New Revision: 1151993

URL: http://svn.apache.org/viewvc?rev=1151993&view=rev
Log:
add java 7 warning to lucene site

Modified:
    lucene/java/site/docs/developer-resources.pdf
    lucene/java/site/docs/features.pdf
    lucene/java/site/docs/index.html
    lucene/java/site/docs/index.pdf
    lucene/java/site/docs/irc.pdf
    lucene/java/site/docs/linkmap.pdf
    lucene/java/site/docs/mailinglists.pdf
    lucene/java/site/docs/releases.pdf
    lucene/java/site/docs/skin/basic.css
    lucene/java/site/docs/skin/print.css
    lucene/java/site/docs/skin/profile.css
    lucene/java/site/docs/skin/screen.css
    lucene/java/site/docs/systemrequirements.pdf
    lucene/java/site/docs/whoweare.pdf
    lucene/java/site/src/documentation/content/xdocs/index.xml

Modified: lucene/java/site/docs/developer-resources.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/developer-resources.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/features.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/features.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/index.html
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/index.html?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/docs/index.html (original)
+++ lucene/java/site/docs/index.html Thu Jul 28 20:40:26 2011
@@ -263,6 +263,9 @@ document.write("Last Published: " + docu
 <a href="#Lucene News">Lucene News</a>
 <ul class="minitoc">
 <li>
+<a href="#28+July+2011+-+WARNING%3A+Index+corruption+and+crashes+in+Apache+Lucene+Core+%2F+Apache+Solr+with+Java+7">28
July 2011 - WARNING: Index corruption and crashes in Apache Lucene Core / Apache Solr with
Java 7</a>
+</li>
+<li>
 <a href="#1+July+2011+-+Lucene+Core+3.3">1 July 2011 - Lucene Core 3.3</a>
 </li>
 <li>
@@ -307,7 +310,45 @@ document.write("Last Published: " + docu
 <a name="N1002A"></a><a name="Lucene News"></a>
 <h2 class="boxed">Lucene News</h2>
 <div class="section">
-<a name="N10030"></a><a name="1+July+2011+-+Lucene+Core+3.3"></a>
+<a name="N10030"></a><a name="28+July+2011+-+WARNING%3A+Index+corruption+and+crashes+in+Apache+Lucene+Core+%2F+Apache+Solr+with+Java+7"></a>
+<h3 class="boxed">28 July 2011 - WARNING: Index corruption and crashes in Apache Lucene
Core / Apache Solr with Java 7</h3>
+<p>Oracle released <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java
7</a> today.
+          Unfortunately it contains hotspot compiler optimizations, which miscompile some
loops.
+          This can affect code of several Apache projects. Sometimes JVMs only crash, but
in several cases,
+          results calculated can be incorrect, leading to bugs in applications
+          (see Hotspot bugs <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134">7070134</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738">7044738</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051">7068051</a>).</p>
+<p>
+<strong>Apache Lucene Core</strong> and <strong>Apache Solr</strong>
are two Apache projects,
+          which are affected by these bugs, namely all versions released until today.
+          Solr users with the default configuration will have
+          Java crashing with <span class="codefrag">SIGSEGV</span> as soon as
they start to index documents, as one
+          affected part is the well-known Porter stemmer
+          (see <a href="https://issues.apache.org/jira/browse/LUCENE-3335">LUCENE-3335</a>).
+          Other loops in Lucene may be miscompiled, too, leading to index corruption
+          (especially on Lucene trunk with pulsing codec; other loops may be
+          affected, too - <a href="https://issues.apache.org/jira/browse/LUCENE-3346">LUCENE-3346</a>).</p>
+<p>These problems were detected only 5 days before the official Java 7 release,
+          so Oracle had no time to fix those bugs, affecting also many more applications.
+          In response to our questions, they proposed to include the fixes into service
+          release u2 (eventually into service release u1, see
+          <a href="http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2011-July/005971.html">this
mail</a>).
+          <strong>This means you cannot use Apache Lucene/Solr with Java 7 releases
before Update 2!</strong>
+          If you do, please don't open bug reports, it is not the committers' fault!
+          At least disable loop optimizations using the <span class="codefrag">-XX:-UseLoopPredicate</span>
JVM option
+          to not risk index corruptions.</p>
+<p>
+<em>Please note:</em> Also Java 6 users are affected, if they use one of those
+          JVM options, which are <strong>not</strong> enabled by default: <span
class="codefrag">-XX:+OptimizeStringConcat</span>
+          or <span class="codefrag">-XX:+AggressiveOpts</span>.</p>
+<p>It is strongly recommended not to use any hotspot optimization switches in any Java
+          version without extensive testing!</p>
+<p>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 <span class="codefrag">JRE_VERSION_MIGRATION.txt</span>
+          in your distribution package!</p>
+<a name="N10080"></a><a name="1+July+2011+-+Lucene+Core+3.3"></a>
 <h3 class="boxed">1 July 2011 - Lucene Core 3.3</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.3.
                         </p>
@@ -356,7 +397,7 @@ document.write("Last Published: " + docu
                                Maven artifacts are available
                                <a href="http://repo1.maven.org/maven2/org/apache/lucene/">here</a>.
                         </p>
-<a name="N10076"></a><a name="4+June+2011+-+Lucene+Core+3.2"></a>
+<a name="N100C6"></a><a name="4+June+2011+-+Lucene+Core+3.2"></a>
 <h3 class="boxed">4 June 2011 - Lucene Core 3.2</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.2.
                         </p>
@@ -408,7 +449,7 @@ document.write("Last Published: " + docu
                                Maven artifacts are available
                                <a href="http://repo1.maven.org/maven2/org/apache/lucene/">here</a>.
                         </p>
-<a name="N100BD"></a><a name="31+March+2011+-+Lucene+Core+3.1"></a>
+<a name="N1010D"></a><a name="31+March+2011+-+Lucene+Core+3.1"></a>
 <h3 class="boxed">31 March 2011 - Lucene Core 3.1</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.1.
 			</p>
@@ -458,7 +499,7 @@ document.write("Last Published: " + docu
 					  once a segment is finished.</li>
 				
 </ul>
-<a name="N100F0"></a><a name="3+December+2010+-+Lucene+Java+3.0.3+and+2.9.4+available"></a>
+<a name="N10140"></a><a name="3+December+2010+-+Lucene+Java+3.0.3+and+2.9.4+available"></a>
 <h3 class="boxed">3 December 2010 - Lucene Java 3.0.3 and 2.9.4 available</h3>
 <p>
           Both releases fix bugs in the previous versions:
@@ -513,7 +554,7 @@ document.write("Last Published: " + docu
           Maven artifacts are available 
           <a href="http://repo1.maven.org/maven2/org/apache/lucene/">here</a>.
         </p>
-<a name="N1014B"></a><a name="18+June+2010+-+Lucene+Java+3.0.2+and+2.9.3+available"></a>
+<a name="N1019B"></a><a name="18+June+2010+-+Lucene+Java+3.0.2+and+2.9.3+available"></a>
 <h3 class="boxed">18 June 2010 - Lucene Java 3.0.2 and 2.9.3 available</h3>
 <p>
           Both releases fix bugs in the previous versions:

Modified: lucene/java/site/docs/index.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/index.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/irc.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/irc.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/linkmap.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/linkmap.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/mailinglists.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/mailinglists.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/releases.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/releases.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/skin/basic.css
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/skin/basic.css?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/docs/skin/basic.css (original)
+++ lucene/java/site/docs/skin/basic.css Thu Jul 28 20:40:26 2011
@@ -163,4 +163,4 @@ p {
 .codefrag {
   font-family: "Courier New", Courier, monospace;
   font-size: 110%;
-}
\ No newline at end of file
+}

Modified: lucene/java/site/docs/skin/print.css
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/skin/print.css?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/docs/skin/print.css (original)
+++ lucene/java/site/docs/skin/print.css Thu Jul 28 20:40:26 2011
@@ -51,4 +51,4 @@ a:link, a:visited {
 
 acronym {
   border: 0;
-}
\ No newline at end of file
+}

Modified: lucene/java/site/docs/skin/profile.css
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/skin/profile.css?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/docs/skin/profile.css (original)
+++ lucene/java/site/docs/skin/profile.css Thu Jul 28 20:40:26 2011
@@ -172,4 +172,4 @@ a:hover { color:#6587ff} 
     }
       
     
-  
\ No newline at end of file
+  

Modified: lucene/java/site/docs/skin/screen.css
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/skin/screen.css?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/docs/skin/screen.css (original)
+++ lucene/java/site/docs/skin/screen.css Thu Jul 28 20:40:26 2011
@@ -593,4 +593,4 @@ p.instruction {
   list-style-image: url('../images/instruction_arrow.png');
   list-style-position: outside;
   margin-left: 2em;
-} 
\ No newline at end of file
+} 

Modified: lucene/java/site/docs/systemrequirements.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/systemrequirements.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/docs/whoweare.pdf
URL: http://svn.apache.org/viewvc/lucene/java/site/docs/whoweare.pdf?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/java/site/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/lucene/java/site/src/documentation/content/xdocs/index.xml?rev=1151993&r1=1151992&r2=1151993&view=diff
==============================================================================
--- lucene/java/site/src/documentation/content/xdocs/index.xml (original)
+++ lucene/java/site/src/documentation/content/xdocs/index.xml Thu Jul 28 20:40:26 2011
@@ -25,6 +25,42 @@
 
         <section id="Lucene News">
           <title>Lucene News</title>
+        <section><title>28 July 2011 - WARNING: Index corruption and crashes
in Apache Lucene Core / Apache Solr with Java 7</title>
+          <p>Oracle released <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java
7</a> today.
+          Unfortunately it contains hotspot compiler optimizations, which miscompile some
loops.
+          This can affect code of several Apache projects. Sometimes JVMs only crash, but
in several cases,
+          results calculated can be incorrect, leading to bugs in applications
+          (see Hotspot bugs <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134">7070134</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738">7044738</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051">7068051</a>).</p>
+          <p><strong>Apache Lucene Core</strong> and <strong>Apache
Solr</strong> are two Apache projects,
+          which are affected by these bugs, namely all versions released until today.
+          Solr users with the default configuration will have
+          Java crashing with <code>SIGSEGV</code> as soon as they start to index
documents, as one
+          affected part is the well-known Porter stemmer
+          (see <a href="https://issues.apache.org/jira/browse/LUCENE-3335">LUCENE-3335</a>).
+          Other loops in Lucene may be miscompiled, too, leading to index corruption
+          (especially on Lucene trunk with pulsing codec; other loops may be
+          affected, too - <a href="https://issues.apache.org/jira/browse/LUCENE-3346">LUCENE-3346</a>).</p>
+          <p>These problems were detected only 5 days before the official Java 7 release,
+          so Oracle had no time to fix those bugs, affecting also many more applications.
+          In response to our questions, they proposed to include the fixes into service
+          release u2 (eventually into service release u1, see
+          <a href="http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2011-July/005971.html">this
mail</a>).
+          <strong>This means you cannot use Apache Lucene/Solr with Java 7 releases
before Update 2!</strong>
+          If you do, please don't open bug reports, it is not the committers' fault!
+          At least disable loop optimizations using the <code>-XX:-UseLoopPredicate</code>
JVM option
+          to not risk index corruptions.</p>
+          <p><em>Please note:</em> Also Java 6 users are affected, if they
use one of those
+          JVM options, which are <strong>not</strong> enabled by default: <code>-XX:+OptimizeStringConcat</code>
+          or <code>-XX:+AggressiveOpts</code>.</p>
+          <p>It is strongly recommended not to use any hotspot optimization switches
in any Java
+          version without extensive testing!</p>
+          <p>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 <code>JRE_VERSION_MIGRATION.txt</code>
+          in your distribution package!</p>
+        </section>
                 <section><title>1 July 2011 - Lucene Core 3.3</title>
                         <p>The Lucene PMC is pleased to announce the availability of
Apache Lucene 3.3.
                         </p>



Mime
View raw message