You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/11/05 16:39:27 UTC
[jira] [Created] (LUCENE-6886) IndexWriter gets angry at leftover
temp files (e.g. from BKD)
Michael McCandless created LUCENE-6886:
------------------------------------------
Summary: IndexWriter gets angry at leftover temp files (e.g. from BKD)
Key: LUCENE-6886
URL: https://issues.apache.org/jira/browse/LUCENE-6886
Project: Lucene - Core
Issue Type: Bug
Reporter: Michael McCandless
Assignee: Michael McCandless
Fix For: Trunk
I was trying to run performance test for the new dimensional values and hit this crazy exception:
{noformat}
Exception in thread "main" java.lang.NumberFormatException: For input string: "5976285795"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at org.apache.lucene.index.IndexFileDeleter.inflateGens(IndexFileDeleter.java:287)
at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:217)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:935)
at perf.IndexAndSearchOpenStreetMaps.createIndex(IndexAndSearchOpenStreetMaps.java:64)
at perf.IndexAndSearchOpenStreetMaps.main(IndexAndSearchOpenStreetMaps.java:162)
{noformat}
It happened because I killed my indexing process while BKD was writing temp files. On starting up again, IW would have removed these unreferenced files, except inflateGens got confused by their names.
This bug only happens on trunk.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org