Skip to content

Instantly share code, notes, and snippets.

@reflection
Last active October 23, 2015 22:37
Show Gist options
  • Save reflection/a62d981f9f1e499e7c8e to your computer and use it in GitHub Desktop.
Save reflection/a62d981f9f1e499e7c8e to your computer and use it in GitHub Desktop.
ES Issue 14273 - Error Log
[2015-10-23 22:33:04,912][DEBUG][action.search.type ] [Anti-Cap] [356019-20150901][0], node[67CydhK5RhGhBUjCEtMJOA], [P], v[6], s[STARTED], a[id=40s7Hr81Tcu0lN9wkjkdxg]: Failed to execute [org.elasticsearch.action.search.SearchRequest@6f285d3a] lastShard [true]
RemoteTransportException[[Anti-Cap][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[failed to run inline script [use(groovy.time.TimeCategory) { new Date(doc["timestamp"].value).format("HH") }] using lang [groovy]]; nested: NoClassDefFoundError[Could not initialize class org.codehaus.groovy.vmplugin.v7.IndyInterface];
Caused by: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[failed to run inline script [use(groovy.time.TimeCategory) { new Date(doc["timestamp"].value).format("HH") }] using lang [groovy]]; nested: NoClassDefFoundError[Could not initialize class org.codehaus.groovy.vmplugin.v7.IndyInterface];
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:157)
at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:369)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:381)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:350)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: GroovyScriptExecutionException[failed to run inline script [use(groovy.time.TimeCategory) { new Date(doc["timestamp"].value).format("HH") }] using lang [groovy]]; nested: NoClassDefFoundError[Could not initialize class org.codehaus.groovy.vmplugin.v7.IndyInterface];
at org.elasticsearch.script.groovy.GroovyScriptEngineService$GroovyScript.run(GroovyScriptEngineService.java:253)
at org.elasticsearch.search.aggregations.support.values.ScriptBytesValues.setDocument(ScriptBytesValues.java:53)
at org.elasticsearch.search.aggregations.bucket.terms.StringTermsAggregator$1.collect(StringTermsAggregator.java:80)
at org.elasticsearch.search.aggregations.LeafBucketCollector.collect(LeafBucketCollector.java:88)
at org.apache.lucene.search.MultiCollector$MultiLeafCollector.collect(MultiCollector.java:145)
at org.apache.lucene.search.FilterLeafCollector.collect(FilterLeafCollector.java:43)
at org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:205)
at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:176)
at org.apache.lucene.search.ConstantScoreQuery$ConstantBulkScorer.score(ConstantScoreQuery.java:87)
at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:35)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:771)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:196)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:485)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:694)
at org.apache.lucene.search.IndexSearcher.count(IndexSearcher.java:367)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:112)
... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.IndyInterface
at org.codehaus.groovy.vmplugin.v7.Java7.invalidateCallSites(Java7.java:66)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.newScope(GroovyCategorySupport.java:78)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:109)
at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.access$400(GroovyCategorySupport.java:68)
at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:252)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.use(DefaultGroovyMethods.java:406)
at org.codehaus.groovy.runtime.dgm$755.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoMetaMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:251)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
at 9bb55a3e15db1c99c3f7f34eb032629ba6109bc4.run(9bb55a3e15db1c99c3f7f34eb032629ba6109bc4:1)
at org.elasticsearch.script.groovy.GroovyScriptEngineService$GroovyScript.run(GroovyScriptEngineService.java:248)
... 25 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment