Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Exception when optimizing index


Copy link to this message
-
Re: Exception when optimizing index
Jack Krupansky 2012-06-07, 15:05
Is the index otherwise usable for queries? And it is only the optimize that
is failing?

I suppose it is possible that the index could be corrupted, but it is also
possible that there is a bug in Lucene.

I would suggest running Lucene "CheckIndex" next. See what it has to say.

See:
https://builds.apache.org/job/Lucene-trunk/javadoc/core/org/apache/lucene/index/CheckIndex.html#main(java.lang.String[])

-- Jack Krupansky

-----Original Message-----
From: Rok Rejc
Sent: Thursday, June 07, 2012 5:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Exception when optimizing index

Hi Jack,

its the virtual machine running on a VMware vSphere 5 Enterprise Plus.
Machine has 30 GB vRAM, 8 core vCPU 3.0 GHz, 2 TB SATA RAID-10 over iSCSI.
Operation system is CentOS 6.2 64bit.

Here are java infos:
   - catalina.​base/usr/share/tomcat6
   - catalina.​home/usr/share/tomcat6
   - catalina.​useNamingtrue
   - common.​loader
   ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
   - file.​encodingUTF-8
   - file.​encoding.​pkgsun.io
   - file.​separator/
   - java.​awt.​graphicsenvsun.awt.X11GraphicsEnvironment
   - java.​awt.​printerjobsun.print.PSPrinterJob
   - java.​class.​path
   /usr/share/tomcat6/bin/bootstrap.jar
   /usr/share/tomcat6/bin/tomcat-juli.jar/usr/share/java/commons-daemon.jar
   - java.​class.​version50.0
   - java.​endorsed.​dirs
   - java.​ext.​dirs
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext
   /usr/java/packages/lib/ext
   - java.​home/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
   - java.​io.​tmpdir/var/cache/tomcat6/temp
   - java.​library.​path
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64
   /usr/java/packages/lib/amd64/usr/lib64/lib64/lib/usr/lib
   - java.​naming.​factory.​initial
   org.apache.naming.java.javaURLContextFactory
   - java.​naming.​factory.​url.​pkgsorg.apache.naming
   - java.​runtime.​nameOpenJDK Runtime Environment
   - java.​runtime.​version1.6.0_22-b22
   - java.​specification.​nameJava Platform API Specification
   - java.​specification.​vendorSun Microsystems Inc.
   - java.​specification.​version1.6
   - java.​util.​logging.​config.​file
   /usr/share/tomcat6/conf/logging.properties
   - java.​util.​logging.​managerorg.apache.juli.ClassLoaderLogManager
   - java.​vendorSun Microsystems Inc.
   - java.​vendor.​urlhttp://java.sun.com/
   - java.​vendor.​url.​bughttp://java.sun.com/cgi-bin/bugreport.cgi
   - java.​version1.6.0_22
   - java.​vm.​infomixed mode
   - java.​vm.​nameOpenJDK 64-Bit Server VM
   - java.​vm.​specification.​nameJava Virtual Machine Specification
   - java.​vm.​specification.​vendorSun Microsystems Inc.
   - java.​vm.​specification.​version1.0
   - java.​vm.​vendorSun Microsystems Inc.
   - java.​vm.​version20.0-b11
   - javax.​sql.​DataSource.​Factory
   org.apache.commons.dbcp.BasicDataSourceFactory
   - line.​separator
   - os.​archamd64
   - os.​nameLinux
   - os.​version2.6.32-220.13.1.el6.x86_64
   - package.​access
   sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
   - package.​definition
   sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
   - path.​separator:
   - server.​loader
   - shared.​loader
   - sun.​arch.​data.​model64
   - sun.​boot.​class.​path
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/sunrsasign.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/charsets.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/netx.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/plugin.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rhino.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/modules/jdk.boot.jar
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/classes
   - sun.​boot.​library.​path
   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
   - sun.​cpu.​endianlittle
   - sun.​cpu.​isalist
   - sun.​io.​unicode.​encodingUnicodeLittle
   - sun.​java.​commandorg.apache.catalina.startup.Bootstrap start
   - sun.​java.​launcherSUN_STANDARD
   - sun.​jnu.​encodingUTF-8
   - sun.​management.​compilerHotSpot 64-Bit Tiered Compilers
   - sun.​os.​patch.​levelunknown
   - tomcat.​util.​buf.​StringCache.​byte.​enabledtrue
   - user.​countryUS
   - user.​dir/usr/share/tomcat6
   - user.​home/usr/share/tomcat6
   - user.​languageen
   - user.​nametomcat
   - user.​timezoneEurope/Ljubljana
As far as I see from the JIRA issue I have the patch attached (as mentioned
I have a trunk version from May 12). Any ideas?

Many thanks!

On Wed, Jun 6, 2012 at 2:49 PM, Jack Krupansky
<[EMAIL PROTECTED]>wrote: