Leechael / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

Error occurred when starting up ElasticSearch-0.19.4 when using ik-analysis-plugin #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade elasticsearch to 0.19.4
2. startup the elasticsearch
3.

What is the expected output? What do you see instead?
should start up without problems

What version of the product are you using? On what operating system?
elasticsearch-analysis-ik-1.0.0.jar and IKAnalyzer2012.jar u5

Please provide any additional information below.
Windows7, JDK 6, in ES 0.19.3, it is OK to start up.

Error Message:

org.elasticsearch.indices.IndexCreationException: [ideanote] failed to create 
index
        at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:290)
        at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:
301)
        at org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:1
67)
        at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:300)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.VerifyError: class 
org.elasticsearch.index.analysis.IkAnalyzerProvider overrides final method name.
()Ljava/lang/String;
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.elasticsearch.index.analysis.IkAnalysisBinderProcessor.processAnalyzers(IkAnalysisBinderProcessor.java:12
)
        at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:345)
        at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
        at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)
        at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)
        at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)
        at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)
        at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)
        at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)
        at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:286)
        ... 6 more

Original issue reported on code.google.com by fr...@intple.com on 22 May 2012 at 6:25

Attachments:

GoogleCodeExporter commented 8 years ago
it's a problem of elasticsearch-analysis-ik, suggest closing this issue, thanks!

Original comment by fr...@intple.com on 22 May 2012 at 7:15

GoogleCodeExporter commented 8 years ago

Original comment by linliang...@gmail.com on 22 May 2012 at 8:07