java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt

JIRA | brij | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I am using the bobo api. zoie-2.0.0 jar is bundled with this. I am getting folowing exception 6 Jan 2013 12:28:40,902 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.LuceneIndexDataLoader - Problem copying segments: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\ab\FacetIndexFinal\event\_0.fdt java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362) at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58) at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630) at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809) at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373) 26 Jan 2013 12:28:40,903 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader - java.io.IOException: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\AbbottRegulatory\FacetIndexFinal\event\_0.fdt proj.zoie.api.ZoieException: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event\_0.fdt at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:164) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373) Caused by: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event\_0.fdt at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362) at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58) at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630) at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809) at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) ... 3 more 26 Jan 2013 12:28:40,944 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.IndexingThread - proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 is abruptly terminated java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.lucene.index.DirectoryReader.doDelete(DirectoryReader.java:523) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1162) at proj.zoie.impl.indexing.internal.BaseSearchIndex.deleteDocs(BaseSearchIndex.java:193) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:223) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)

    JIRA | 4 years ago | brij
    java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt
  2. 0

    I am using the bobo api. zoie-2.0.0 jar is bundled with this. I am getting folowing exception 6 Jan 2013 12:28:40,902 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.LuceneIndexDataLoader - Problem copying segments: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\ab\FacetIndexFinal\event\_0.fdt java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362) at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58) at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630) at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809) at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373) 26 Jan 2013 12:28:40,903 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader - java.io.IOException: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\AbbottRegulatory\FacetIndexFinal\event\_0.fdt proj.zoie.api.ZoieException: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event\_0.fdt at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:164) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373) Caused by: java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\FacetIndexFinal\event\_0.fdt at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362) at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58) at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630) at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809) at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) ... 3 more 26 Jan 2013 12:28:40,944 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 proj.zoie.impl.indexing.IndexingThread - proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@683555b8 is abruptly terminated java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.lucene.index.DirectoryReader.doDelete(DirectoryReader.java:523) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1162) at proj.zoie.impl.indexing.internal.BaseSearchIndex.deleteDocs(BaseSearchIndex.java:193) at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:223) at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153) at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134) at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171) at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)

    JIRA | 4 years ago | brij
    java.io.IOException: Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt

    Root Cause Analysis

    1. java.io.IOException

      Cannot overwrite: C:\D-Drive\releases\ab\FacetIndexFinal\event\_0.fdt

      at org.apache.lucene.store.FSDirectory.initOutput()
    2. Lucene
      IndexWriter.addIndexesNoOptimize
      1. org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362)
      2. org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58)
      3. org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61)
      4. org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334)
      5. org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153)
      6. org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045)
      7. org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630)
      8. org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809)
      9. org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718)
      9 frames
    3. proj.zoie.impl
      BatchedIndexDataLoader$LoaderThread.run
      1. proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:229)
      2. proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:153)
      3. proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:134)
      4. proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:171)
      5. proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:373)
      5 frames