[ 
https://issues.apache.org/jira/browse/KYLIN-853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598309#comment-14598309
 ] 

Carl Antaki edited comment on KYLIN-853 at 6/23/15 8:30 PM:
------------------------------------------------------------

Concurrent exception in lucene 4.7.2
I had 4 threads searching the content, these 4 threads generate |120 
Transactions per second (TPS)
I have a content that failed only once with the following exception:

[23/06/15 13:18:15:984 EDT] 00000076 SolrCore E 
org.apache.solr.common.SolrException log 
java.lang.ArrayIndexOutOfBoundsException: 81
at 
org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer$2.get(Lucene45DocValuesProducer.java:323)
It crashes in the line with ------------:
case 2:
final long[] table = entry.table;
int bitsRequired = PackedInts.bitsRequired(table.length - 1);
final PackedInts.Reader ords = PackedInts.getDirectReaderNoHeader(data, 
PackedInts.Format.PACKED, entry.packedIntsVersion, (int)entry.count, 
bitsRequired);
return new LongValues()
{
public long get(long id)
{ ---------------- return table[((int)ords.get((int)id))];----------------- }
};
}


was (Author: jcarl):
Concurrent exception in lucene 4.7.2
I have a content that failed only once with the following exception:

[23/06/15 13:18:15:984 EDT] 00000076 SolrCore E 
org.apache.solr.common.SolrException log 
java.lang.ArrayIndexOutOfBoundsException: 81
at 
org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer$2.get(Lucene45DocValuesProducer.java:323)
It crashes in the line with ------------:
case 2:
final long[] table = entry.table;
int bitsRequired = PackedInts.bitsRequired(table.length - 1);
final PackedInts.Reader ords = PackedInts.getDirectReaderNoHeader(data, 
PackedInts.Format.PACKED, entry.packedIntsVersion, (int)entry.count, 
bitsRequired);
return new LongValues()
{
public long get(long id)
{ ---------------- return table[((int)ords.get((int)id))];----------------- }
};
}

> Create a JIRA request
> ---------------------
>
>                 Key: KYLIN-853
>                 URL: https://issues.apache.org/jira/browse/KYLIN-853
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>            Reporter: Carl Antaki
>            Assignee: Zhong,Jason
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to