Jonathan Ellis-3 wrote:
> 
> Are you using multiple threads?
> 

I'm adding in threading now, and getting exceptions at times regarding a
"broken pipe".

I then added the following :
        synchronized (this) {
                indexWriter.addDocument(doc, analyzer);
        }

Which did get rid of the problem.  I'm currently using Phasers (jsr166) to
register threads per file found in a given directory.  Although it still
seems slow.  

Has anyone else ingested large # of files, and found ways to optimize
ingestion?  If I apply a patch for batch operations (from the link in the
post), will this work with the version of cassandra supported by lucandra? 

Thanks again.

-- 
View this message in context: 
http://n2.nabble.com/Lucandra-Ingestion-tp4415691p4457044.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at 
Nabble.com.

Reply via email to