gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Davidson <tdavid...@covario.com>
Subject Gora CassandraStore is not thread safe?
Date Wed, 10 Aug 2011 19:43:46 GMT
Has anyone tested the CassandraStore in gora 0.2 using multiple threads?  The nutch 2 fetcher
architecture has many threads writing to one GoraRecordWriter and I am getting concurrent
modification errors like below.

Caused by: java.util.ConcurrentModificationException
               at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
               at java.util.HashMap$KeyIterator.next(HashMap.java:828)
               at org.apache.gora.cassandra.store.CassandraStore.flush(CassandraStore.java:192)
               at org.apache.gora.mapreduce.GoraRecordWriter.write(GoraRecordWriter.java:65)






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message