Index.cache.filter.type


(Nate Fox) #1

I'm toying with the effects of different settings and noticed that setting
index.cache.filter.type: none works fine, but setting
index.cache.filter.type: soft or index.cache.filter.type: weak gives me
stack traces.
Am I doing it wrong? The docs mention soft, weak and resident being the
type's available.
I'm running ES v1.1.0

org.elasticsearch.indices.IndexCreationException:
[centrallogging_awseast-2014-06-13] failed to create index
at
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:300)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:307)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:179)
at
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:424)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:134)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [index.cache.filter.type] with value [soft]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:448)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:436)
at
org.elasticsearch.index.cache.filter.FilterCacheModule.configure(FilterCacheModule.java:44)
at
org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at
org.elasticsearch.index.cache.IndexCacheModule.configure(IndexCacheModule.java:41)
at
org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at
org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:204)
at
org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:85)
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:131)
at
org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:69)
at
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:298)
... 7 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.index.cache.filter.soft.SoftFilterCache
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:446)
... 19 more

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHU4sP96QM3Rf5SF7Pd7tJvOib4dZyW9yEHJ_XgD6ZuApvbUNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2