Getting ArrayIndexOutOfBoundsException when doing a simple query

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting ArrayIndexOutOfBoundsException when doing a simple query

mzamora
This post has NOT been accepted by the mailing list yet.
I keep getting this exception whenever I'm searching for logs in this index: atlas20151119
Any idea what this exception means?


[2015-11-20 11:32:31,233][DEBUG][action.search.type       ] [loplhgdl002.atlas.c       m.com] All shards failed for phase: [query_fetch]
org.elasticsearch.search.query.QueryPhaseExecutionException: [atlas20151119][0]:        query[filtered(msg:*)->BooleanFilter(+cache(dt:[1447867466834 TO 1447899866834]       ) -cache(QueryWrapperFilter((lgr:database))))],from[0],size[500],sort[<custom:"d       t": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource       @213b5669>!]: Query Failed [Failed to execute main query]
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:163       )
        at org.elasticsearch.search.SearchService.executeFetchPhase(SearchServic       e.java:376)
        at org.elasticsearch.search.action.SearchServiceTransportAction$11.call(       SearchServiceTransportAction.java:333)
        at org.elasticsearch.search.action.SearchServiceTransportAction$11.call(       SearchServiceTransportAction.java:330)
        at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(S       earchServiceTransportAction.java:559)
        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: org.elasticsearch.ElasticsearchException: java.lang.ArrayIndexOutOfBo       undsException
        at org.elasticsearch.index.fielddata.plain.AbstractIndexFieldData.load(A       bstractIndexFieldData.java:80)
        at org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparato       rSource$1.getLongValues(LongValuesComparatorSource.java:67)
        at org.apache.lucene.search.FieldComparator$LongComparator.setNextReader       (FieldComparator.java:716)
        at org.apache.lucene.search.TopFieldCollector$OneComparatorNonScoringCol       lector.setNextReader(TopFieldCollector.java:97)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
        at org.elasticsearch.search.internal.ContextIndexSearcher.search(Context       IndexSearcher.java:191)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:581)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:533)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:510)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:345)
        at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:150       )
        ... 7 more
Caused by: org.elasticsearch.common.util.concurrent.UncheckedExecutionException:        java.lang.ArrayIndexOutOfBoundsException
        at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java       :2203)
        at org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3937)
        at org.elasticsearch.common.cache.LocalCache$LocalManualCache.get(LocalC       ache.java:4739)
        at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$Index       FieldCache.load(IndicesFieldDataCache.java:167)
        at org.elasticsearch.index.fielddata.plain.AbstractIndexFieldData.load(A       bstractIndexFieldData.java:74)
        ... 17 more
Caused by: java.lang.ArrayIndexOutOfBoundsException
        at org.apache.lucene.store.ByteArrayDataInput.readBytes(ByteArrayDataInp       ut.java:165)
        at org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.nextLeaf(Seg       mentTermsEnumFrame.java:278)
        at org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.next(Segment       TermsEnumFrame.java:266)
        at org.apache.lucene.codecs.blocktree.SegmentTermsEnum.next(SegmentTerms       Enum.java:950)
        at org.apache.lucene.index.FilteredTermsEnum.next(FilteredTermsEnum.java       :236)
        at org.elasticsearch.index.fielddata.RamAccountingTermsEnum.next(RamAcco       untingTermsEnum.java:82)
        at org.elasticsearch.index.fielddata.ordinals.OrdinalsBuilder$3.next(Ord       inalsBuilder.java:472)
        at org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.loa       dDirect(PackedArrayIndexFieldData.java:109)
        at org.elasticsearch.index.fielddata.plain.PackedArrayIndexFieldData.loa       dDirect(PackedArrayIndexFieldData.java:49)
        at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$Index       FieldCache$1.call(IndicesFieldDataCache.java:180)
        at org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache$Index       FieldCache$1.call(IndicesFieldDataCache.java:167)
        at org.elasticsearch.common.cache.LocalCache$LocalManualCache$1.load(Loc       alCache.java:4742)
        at org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadF       uture(LocalCache.java:3527)
        at org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache       .java:2319)
        at org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(Loc       alCache.java:2282)
        at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java       :2197)
        ... 21 more
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting ArrayIndexOutOfBoundsException when doing a simple query

mzamora
This post has NOT been accepted by the mailing list yet.
FYI - I'm running ES 1.5.2
Loading...