[infinispan-dev] Workarounds for 'duplicate class...' issues after activation of IntelliJ annotation processing

2011-07-15 Thread Galder Zamarreño
Hi, Since I enabled annotation processing in IntelliJ and got it working, if I build core/ from command line (i.e. to run the testsuite), when I go back to the IDE and try to run a test, I get messages like: Duplicate class $Logger Now, the eclipse Maven plugin allows to configure a

Re: [infinispan-dev] Workarounds for 'duplicate class...' issues after activation of IntelliJ annotation processing

2011-07-15 Thread Galder Zamarreño
Actually, when importing to Intellij, it completely ignores the configured maven plugin. It has an option to avoid using the Maven output directories (http://www.jetbrains.com/idea/webhelp/maven-importing.html) but it seems to ignore it. On Jul 15, 2011, at 11:57 AM, Galder Zamarreño wrote:

Re: [infinispan-dev] IllegalStateException when receiving invalidation messages on a stopped/stopping cache

2011-07-15 Thread Sanne Grinovero
Sorry for not being clear - I'm not assuming that this has anything to do with the InterruptedException/EOFs being still logged, just that the output is less noisy if I remove these which where pointless. Sanne 2011/7/14 Dan Berindei dan.berin...@gmail.com: TBH I'm not sure why the patch helped

Re: [infinispan-dev] IllegalStateException when receiving invalidation messages on a stopped/stopping cache

2011-07-15 Thread Dan Berindei
I was surprised because I would have thought your change would replace each IllegalStateException in the log with an InterruptedException, so I wouldn't have expected the log to be any less noisy. I mean you don't stop the rehashing during invalidation, you just skip invalidation and go to the

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Sanne Grinovero
Hi, in the case of Lucene Queries my main concern is about how to a) properly serialize the query b) how to stream the resusts back, possibly having some pagination / flow control. I didn't look into hotrod sources, but I was not assuming the hard part would to make it possible to send some new

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Navin Surtani
Hi, in the case of Lucene Queries my main concern is about how to a) properly serialize the query b) how to stream the resusts back, possibly having some pagination / flow control. I didn't look into hotrod sources, but I was not assuming the hard part would to make it possible to send

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Mircea Markus
On 15 Jul 2011, at 13:10, Sanne Grinovero wrote: Hi, in the case of Lucene Queries my main concern is about how to a) properly serialize the query b) how to stream the resusts back, possibly having some pagination / flow control. If you want we can have a look together to see wether this

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Manik Surtani
I think this is fine as a wiki page, and let users extend/hack in this functionality for now, but IMO we need to properly engineer distributed XA over Hot Rod (with a tx broker, etc. as we designed some months back). It's good that we have detailed this prototype, but I would say put it up on

Re: [infinispan-dev] transaction/query/mapreduce over hotrod

2011-07-15 Thread Vladimir Blagojevic
Mircea, I applaud the effort and your experiment! Having said that I think we have to engineer a much more plumbing for more complicated cases, e.g map/reduce (marshalling results, classloading etc etc). I am more and more convinced nowadays that all of this plumbing is better provided by AS

[infinispan-dev] State transfer is transferring the same data twice

2011-07-15 Thread Dan Berindei
Hi guys While fixing https://issues.jboss.org/browse/ISPN-1243 I found that in certain cases state transfer will copy the in-memory data twice: first when copying the in-memory data and then again while copying the persistent data. I was getting duplicate key exceptions in