Re: Getting RuntimeException: after flush: fdx size mismatch while Indexing

2011-12-09 Thread Michael McCandless
Hmm... it looks like File.length() is somehow, sometimes lying, on your NFS filesystem. What's happening is Lucene is writing out a file, and it wrote 59540 bytes, closed the file (all with no exceptions), and then tried to verify the length was 59540 but in fact the filesystem reported 32768 byte

Re: Getting RuntimeException: after flush: fdx size mismatch while Indexing

2011-12-09 Thread Jamir Shaikh
OS : RHEL 5.5 64 bit. Filesystem: NFS Thanks for the reply. Thanks, Jamir On Fri, Dec 9, 2011 at 10:22 AM, Michael McCandless < luc...@mikemccandless.com> wrote: > Which OS/filesystem? > > Mike McCandless > > http://blog.mikemccandless.com > > On Thu, Dec 8, 2011 at 9:46 PM, Jamir Shaikh > wro

Re: Getting RuntimeException: after flush: fdx size mismatch while Indexing

2011-12-09 Thread Michael McCandless
Which OS/filesystem? Mike McCandless http://blog.mikemccandless.com On Thu, Dec 8, 2011 at 9:46 PM, Jamir Shaikh wrote: > I am using Lucene 3.5. I want to create around 30 million documents. > While doing Indexing I am getting the following Exception: > > Caused by: java.lang.RuntimeException: