Lucene - Core
  1. Lucene - Core
  2. LUCENE-5218

background merge hit exception && Caused by: java.lang.ArrayIndexOutOfBoundsException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5, Trunk
    • Component/s: core/index
    • Labels:
      None
    • Environment:

      Linux MMapDirectory.

    • Lucene Fields:
      New

      Description

      forceMerge(80)
      ==============================
      Caused by: java.io.IOException: background merge hit exception: _3h(4.4):c79921/2994 _3vs(4.4):c38658 _eq(4.4):c38586 _h1(4.4):c37370 _16k(4.4):c36591 _j4(4.4):c34316 _dx(4.4):c30550 _3m6(4.4):c30058 _dl(4.4):c28440 _d8(4.4):c19599 _dy(4.4):c1500/75 _h2(4.4):c1500 into _3vt [maxNumSegments=80]
      at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1714)
      at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1650)
      at com.xxx.yyy.engine.lucene.LuceneEngine.flushAndReopen(LuceneEngine.java:1295)
      ... 4 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
      at org.apache.lucene.util.PagedBytes$Reader.fillSlice(PagedBytes.java:92)
      at org.apache.lucene.codecs.lucene42.Lucene42DocValuesProducer$6.get(Lucene42DocValuesProducer.java:267)
      at org.apache.lucene.codecs.DocValuesConsumer$2$1.setNext(DocValuesConsumer.java:239)
      at org.apache.lucene.codecs.DocValuesConsumer$2$1.hasNext(DocValuesConsumer.java:201)
      at org.apache.lucene.codecs.lucene42.Lucene42DocValuesConsumer.addBinaryField(Lucene42DocValuesConsumer.java:218)
      at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addBinaryField(PerFieldDocValuesFormat.java:110)
      at org.apache.lucene.codecs.DocValuesConsumer.mergeBinaryField(DocValuesConsumer.java:186)
      at org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:171)
      at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:108)
      at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3772)
      at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3376)
      at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
      at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)

      ===============

      1. lucene44-LUCENE-5218.zip
        8.59 MB
        Littlestar
      2. LUCENE-5218.patch
        3 kB
        Michael McCandless

        Activity

        Littlestar created issue -
        Littlestar made changes -
        Field Original Value New Value
        Description forceMerge(80)
        ==============================
        Caused by: java.io.IOException: background merge hit exception: _3h(4.4):c79921/2994 _3vs(4.4):c38658 _eq(4.4):c38586 _h1(4.4):c37370 _16k(4.4):c36591 _j4(4.4):c34316 _dx(4.4):c30550 _3m6(4.4):c30058 _dl(4.4):c28440 _d8(4.4):c19599 _dy(4.4):c1500/75 _h2(4.4):c1500 into _3vt [maxNumSegments=80]
        at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1714)
        at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1650)
        at com.trs.hybase.engine.lucene.LuceneEngine.flushAndReopen(LuceneEngine.java:1295)
        ... 4 more
        Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
        at org.apache.lucene.util.PagedBytes$Reader.fillSlice(PagedBytes.java:92)
        at org.apache.lucene.codecs.lucene42.Lucene42DocValuesProducer$6.get(Lucene42DocValuesProducer.java:267)
        at org.apache.lucene.codecs.DocValuesConsumer$2$1.setNext(DocValuesConsumer.java:239)
        at org.apache.lucene.codecs.DocValuesConsumer$2$1.hasNext(DocValuesConsumer.java:201)
        at org.apache.lucene.codecs.lucene42.Lucene42DocValuesConsumer.addBinaryField(Lucene42DocValuesConsumer.java:218)
        at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addBinaryField(PerFieldDocValuesFormat.java:110)
        at org.apache.lucene.codecs.DocValuesConsumer.mergeBinaryField(DocValuesConsumer.java:186)
        at org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:171)
        at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:108)
        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3772)
        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3376)
        at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
        at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)

        ===============
        forceMerge(80)
        ==============================
        Caused by: java.io.IOException: background merge hit exception: _3h(4.4):c79921/2994 _3vs(4.4):c38658 _eq(4.4):c38586 _h1(4.4):c37370 _16k(4.4):c36591 _j4(4.4):c34316 _dx(4.4):c30550 _3m6(4.4):c30058 _dl(4.4):c28440 _d8(4.4):c19599 _dy(4.4):c1500/75 _h2(4.4):c1500 into _3vt [maxNumSegments=80]
        at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1714)
        at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1650)
        at com.xxx.yyy.engine.lucene.LuceneEngine.flushAndReopen(LuceneEngine.java:1295)
        ... 4 more
        Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
        at org.apache.lucene.util.PagedBytes$Reader.fillSlice(PagedBytes.java:92)
        at org.apache.lucene.codecs.lucene42.Lucene42DocValuesProducer$6.get(Lucene42DocValuesProducer.java:267)
        at org.apache.lucene.codecs.DocValuesConsumer$2$1.setNext(DocValuesConsumer.java:239)
        at org.apache.lucene.codecs.DocValuesConsumer$2$1.hasNext(DocValuesConsumer.java:201)
        at org.apache.lucene.codecs.lucene42.Lucene42DocValuesConsumer.addBinaryField(Lucene42DocValuesConsumer.java:218)
        at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addBinaryField(PerFieldDocValuesFormat.java:110)
        at org.apache.lucene.codecs.DocValuesConsumer.mergeBinaryField(DocValuesConsumer.java:186)
        at org.apache.lucene.index.SegmentMerger.mergeDocValues(SegmentMerger.java:171)
        at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:108)
        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3772)
        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3376)
        at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:405)
        at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)

        ===============
        Littlestar made changes -
        Attachment lucene44-LUCENE-5218.zip [ 12604772 ]
        Michael McCandless made changes -
        Assignee Michael McCandless [ mikemccand ]
        Michael McCandless made changes -
        Attachment LUCENE-5218.patch [ 12605084 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0 [ 12321663 ]
        Fix Version/s 4.6 [ 12324999 ]
        Resolution Fixed [ 1 ]
        Adrien Grand made changes -
        Fix Version/s 4.5 [ 12324742 ]
        Fix Version/s 4.6 [ 12324999 ]
        Adrien Grand made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Littlestar
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development