Hi,
We have a 2-node ES cluster running 0.90.0 release in our QA environment.
When we started using a script filter in our query, we got the following
stack trace after a few queries to ES. After looking into the issue a bit,
the issue seemed to be caused by the use of MVEL in compiled or accelerated
mode. Further research seems to indicate that disabling JIT for MVEL
worked around the problem (via -Dmvel2.disable.jit=true).
Disabling MVEL JIT would also mean a performance concern for us. What's
root cause of this issue? How should we address it?
[2013-05-23 21:04:55,650][DEBUG][action.search.type ] [Omen]
[indexedbuyitem][0], node[-3mMO7JjTKKhIk92AJt_xQ], [R], s[STARTED]: Failed
to execute [org.elasticsearch.action.search.SearchRequest@1d5e469d]
java.lang.IllegalAccessError:
org/elasticsearch/index/fielddata/ScriptDocValues$Strings$1
at ASMAccessorImpl_1471145441369339522430.getValue(Unknown Source)
at
org.elasticsearch.common.mvel2.optimizers.dynamic.DynamicGetAccessor.getValue(DynamicGetAccessor.java:73)
at
org.elasticsearch.common.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:108)
at
org.elasticsearch.common.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:108)
at
org.elasticsearch.common.mvel2.ast.Or.getReducedValueAccelerated(Or.java:34)
at
org.elasticsearch.common.mvel2.ast.Or.getReducedValueAccelerated(Or.java:34)
at
org.elasticsearch.common.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
at
org.elasticsearch.common.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
at
org.elasticsearch.common.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
at
org.elasticsearch.script.mvel.MvelScriptEngineService$MvelSearchScript.run(MvelScriptEngineService.java:192)
at
org.elasticsearch.index.query.ScriptFilterParser$ScriptFilter$ScriptDocSet.matchDoc(ScriptFilterParser.java:184)
at
org.elasticsearch.common.lucene.docset.MatchDocIdSet.get(MatchDocIdSet.java:67)
at
org.apache.lucene.search.FilteredDocIdSet$1.get(FilteredDocIdSet.java:65)
at
org.elasticsearch.common.lucene.docset.AndDocIdSet$AndBits.get(AndDocIdSet.java:106)
at
org.elasticsearch.common.lucene.docset.AndDocIdSet$AndBits.get(AndDocIdSet.java:106)
at
org.elasticsearch.common.lucene.docset.BitsDocIdSetIterator$FilteredIterator.match(BitsDocIdSetIterator.java:59)
at
org.apache.lucene.search.FilteredDocIdSetIterator.nextDoc(FilteredDocIdSetIterator.java:60)
at
org.apache.lucene.search.FilteredDocIdSetIterator.nextDoc(FilteredDocIdSetIterator.java:59)
at
org.apache.lucene.search.ConstantScoreQuery$ConstantScorer.nextDoc(ConstantScoreQuery.java:185)
at
org.elasticsearch.common.lucene.search.function.FiltersFunctionScoreQuery$CustomBoostFactorScorer.nextDoc(FiltersFunctionScoreQuery.java:283)
at org.apache.lucene.search.Scorer.score(Scorer.java:63)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:605)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:156)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:572)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:524)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:501)
at
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:345)
at
org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:127)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:239)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:141)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:205)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:281)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:213)
at
org.elasticsearch.search.action.SearchServiceTransportAction$2.handleException(SearchServiceTransportAction.j
--
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.
For more options, visit https://groups.google.com/groups/opt_out.