You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if I am missing something here (e.g. incorrect format of dictionary file? see below) ,however Loading a dictionary file for dictionary_decompounder as documented in our docs fails.
elasticsearch.log-[2016-03-21 16:25:38,683][DEBUG][cluster.service ] [Straw Man] cluster state update task [create-index [my_index], cause [api]] failed
elasticsearch.log:[my_index] IndexCreationException[failed to create index]; nested: IllegalArgumentException[IOException while reading word_list_path: Input length = 1];
elasticsearch.log- at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:360)
elasticsearch.log- at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:309)
elasticsearch.log- at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
elasticsearch.log- at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:458)
elasticsearch.log- at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:762)
elasticsearch.log- at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
elasticsearch.log- at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
elasticsearch.log- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
elasticsearch.log- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
elasticsearch.log- at java.lang.Thread.run(Thread.java:745)
elasticsearch.log:Caused by: java.lang.IllegalArgumentException: IOException while reading word_list_path: Input length = 1
elasticsearch.log- at org.elasticsearch.index.analysis.Analysis.getWordList(Analysis.java:241)
elasticsearch.log- at org.elasticsearch.index.analysis.Analysis.getWordSet(Analysis.java:209)
elasticsearch.log- at org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory.<init>(AbstractCompoundWordTokenFilterFactory.java:49)
elasticsearch.log- at org.elasticsearch.index.analysis.compound.HyphenationCompoundWordTokenFilterFactory.<init>(HyphenationCompoundWordTokenFilterFactory.java:52)
elasticsearch.log- at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source)
elasticsearch.log- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
elasticsearch.log- at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
elasticsearch.log- at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:54)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl$5$1.call(InjectorImpl.java:828)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl$5.get(InjectorImpl.java:823)
elasticsearch.log- at org.elasticsearch.common.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:236)
elasticsearch.log- at com.sun.proxy.$Proxy19.create(Unknown Source)
elasticsearch.log- at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:161)
elasticsearch.log- at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:66)
elasticsearch.log- at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown Source)
elasticsearch.log- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
elasticsearch.log- at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
elasticsearch.log- at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:880)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:159)
elasticsearch.log- at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:55)
elasticsearch.log- at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:358)
elasticsearch.log- ... 9 more
elasticsearch.log-[2016-03-21 16:25:38,683][DEBUG][action.admin.indices.create] [Straw Man] [my_index] failed to create
elasticsearch.log:[my_index] IndexCreationException[failed to create index]; nested: IllegalArgumentException[IOException while reading word_list_path: Input length = 1];
elasticsearch.log- at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:360)
elasticsearch.log- at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:309)
elasticsearch.log- at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
elasticsearch.log- at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:458)
elasticsearch.log- at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:762)
elasticsearch.log- at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
elasticsearch.log- at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
elasticsearch.log- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
elasticsearch.log- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
elasticsearch.log- at java.lang.Thread.run(Thread.java:745)
elasticsearch.log:Caused by: java.lang.IllegalArgumentException: IOException while reading word_list_path: Input length = 1
elasticsearch.log- at org.elasticsearch.index.analysis.Analysis.getWordList(Analysis.java:241)
elasticsearch.log- at org.elasticsearch.index.analysis.Analysis.getWordSet(Analysis.java:209)
elasticsearch.log- at org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory.<init>(AbstractCompoundWordTokenFilterFactory.java:49)
elasticsearch.log- at org.elasticsearch.index.analysis.compound.HyphenationCompoundWordTokenFilterFactory.<init>(HyphenationCompoundWordTokenFilterFactory.java:52)
elasticsearch.log- at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source)
elasticsearch.log- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
elasticsearch.log- at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
elasticsearch.log- at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:54)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl$5$1.call(InjectorImpl.java:828)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl$5.get(InjectorImpl.java:823)
elasticsearch.log- at org.elasticsearch.common.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:236)
elasticsearch.log- at com.sun.proxy.$Proxy19.create(Unknown Source)
elasticsearch.log- at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:161)
elasticsearch.log- at org.elasticsearch.index.analysis.AnalysisService.<init>(AnalysisService.java:66)
elasticsearch.log- at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown Source)
elasticsearch.log- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
elasticsearch.log- at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
elasticsearch.log- at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
elasticsearch.log- at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
elasticsearch.log- at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:887)
elasticsearch.log- at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
elasticsearch.log- at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
elasticsearch.log- at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:880)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
elasticsearch.log- at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:159)
elasticsearch.log- at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:55)
elasticsearch.log- at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:358)
elasticsearch.log- ... 9 more
I've run lsof on the germany.txt file checking for other process accessing it but can't see anything
Antonios-MacBook-Air:elasticsearch-2.2.1 abonuccelli$ while true; do sudo lsof /opt/elk/PROD/elasticsearch-2.2.1/config/de.xml ; sudo lsof /opt/elk/PROD/elasticsearch-2.2.1/config/germany.txt;date;done
Mon Mar 21 16:25:22 CST 2016
Mon Mar 21 16:25:23 CST 2016
Mon Mar 21 16:25:25 CST 2016
Mon Mar 21 16:25:26 CST 2016
Mon Mar 21 16:25:27 CST 2016
Mon Mar 21 16:25:29 CST 2016
Mon Mar 21 16:25:31 CST 2016
Mon Mar 21 16:25:33 CST 2016
Mon Mar 21 16:25:34 CST 2016
Mon Mar 21 16:25:36 CST 2016
Mon Mar 21 16:25:37 CST 2016
Mon Mar 21 16:25:39 CST 2016
Mon Mar 21 16:25:40 CST 2016
Mon Mar 21 16:25:42 CST 2016
Mon Mar 21 16:25:43 CST 2016
Mon Mar 21 16:25:45 CST 2016
The text was updated successfully, but these errors were encountered:
By the way, i have the feeling an exception may be discarded here.
I feel like it should not be java.lang.IllegalArgumentException: IOException while reading word_list_path: Input length = 1, that is not a good error. I just happen to know what it means.
This commit fixes string formatting issues in the error handling and
provides a bettter error message if malformed input is detected.
This commit also adds tests for both situations.
Relates to elastic#17212
Not sure if I am missing something here (e.g. incorrect format of dictionary file? see below) ,however Loading a dictionary file for
dictionary_decompounder
as documented in our docs fails.ES version
Repro steps
Response
Dictionary file at http://www.md5this.com/wordlists/dictionary_german.zip
FOP XML hyphenation pattern file downloaded from site referenced in docs.https://sourceforge.net/projects/offo/files/offo-hyphenation/1.2/offo-hyphenation_v1.2.zip/download
Full Trace Exception (9 More...swallowed?)
I've run lsof on the germany.txt file checking for other process accessing it but can't see anything
The text was updated successfully, but these errors were encountered: