Re: [infinispan-dev] How to get Grouper#computeGroup(key) return value to map to physical Node?

2013-05-14 Thread cotton-ben
I am playing with the Infinispan 5.3 quick-start package to exercise my usage of the Grouping API. As we know the quick start package is made up of AbstractNode.java, Node0.java, Node1.java and Node2.java (plus a util/listener). My ambition is to demonstrate 1. that any Cache.put("DIMENSION.xx

Re: [infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Mark Addy
Hi, Thanks for the replies, all sorted now. I went back through the previous archives and found ISPN-2281 and the changes associated to this. So to get Hotrod working you must supply a custom Equivalence implementation as an attribute of the dataContainer element for the cache. I have created a

Re: [infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Galder Zamarreño
On May 14, 2013, at 3:34 PM, Mircea Markus wrote: > > On 14 May 2013, at 13:52, Galder Zamarreño wrote: > >> Indeed, dunno what the environment this is working on, but indeed there's >> been some crucial changes. >> >> Data container keyEquivalence configuration must be set to a Equivalence

Re: [infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Mircea Markus
On 14 May 2013, at 13:52, Galder Zamarreño wrote: > Indeed, dunno what the environment this is working on, but indeed there's > been some crucial changes. > > Data container keyEquivalence configuration must be set to a Equivalence > implementation that can handle byte array keys. (If set, tha

Re: [infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Galder Zamarreño
Indeed, dunno what the environment this is working on, but indeed there's been some crucial changes. Data container keyEquivalence configuration must be set to a Equivalence implementation that can handle byte array keys. (If set, that same one will be used to compare values too). If that's no

Re: [infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Mircea Markus
Hi Mark, Can you please share your config with us, both client and server? If you can reproduce this on a single server node even better. On 14 May 2013, at 10:05, Mark Addy wrote: > Hi, > Not sure if I have missed something really obvious but I am unable to > get Hotrod to work with this releas

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Manik Surtani
+1 On 14 May 2013, at 10:47, Pedro Ruivo wrote: > OK! if everybody agrees, I'm going to remove from AdvancedCache and from > the GlobalConfiguration(Builder). Also, I'm going to remove the "final" > modifier from ComponentRegistry to mock it for cache store test suite. > > On 05/14/2013 10:44

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Pedro Ruivo
OK! if everybody agrees, I'm going to remove from AdvancedCache and from the GlobalConfiguration(Builder). Also, I'm going to remove the "final" modifier from ComponentRegistry to mock it for cache store test suite. On 05/14/2013 10:44 AM, Dan Berindei wrote: > > > > On Tue, May 14, 2013 at 12:3

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Dan Berindei
On Tue, May 14, 2013 at 12:38 PM, Pedro Ruivo wrote: > > > On 05/14/2013 10:31 AM, Dan Berindei wrote: > > > > > > > > On Tue, May 14, 2013 at 11:51 AM, Pedro Ruivo > > wrote: > > > > > > > > On 05/14/2013 09:44 AM, Dan Berindei wrote: > > > > > > > >

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Pedro Ruivo
On 05/14/2013 10:31 AM, Dan Berindei wrote: > > > > On Tue, May 14, 2013 at 11:51 AM, Pedro Ruivo > wrote: > > > > On 05/14/2013 09:44 AM, Dan Berindei wrote: > > > > > > > > On Tue, May 14, 2013 at 11:37 AM, Manik Surtani > mailto:msurt..

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Dan Berindei
On Tue, May 14, 2013 at 11:51 AM, Pedro Ruivo wrote: > > > On 05/14/2013 09:44 AM, Dan Berindei wrote: > > > > > > > > On Tue, May 14, 2013 at 11:37 AM, Manik Surtani > > wrote: > > > > > > On 14 May 2013, at 08:33, Dan Berindei >

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Dan Berindei
On Tue, May 14, 2013 at 10:52 AM, Sanne Grinovero wrote: > On 14 May 2013 08:33, Dan Berindei wrote: > > > > > > > > On Mon, May 13, 2013 at 8:44 PM, Sanne Grinovero > > wrote: > >> > >> On 13 May 2013 18:32, Manik Surtani wrote: > >> > > >> > On 13 May 2013, at 16:25, Mircea Markus wrote: > >

[infinispan-dev] Hotrod 5.3.0.Beta1

2013-05-14 Thread Mark Addy
Hi, Not sure if I have missed something really obvious but I am unable to get Hotrod to work with this release. If I do a put I can see the new entry being written but a subsequent get fails to find it... Set up is a vanilla install with the distributed-udp.xml configuration file. Hopefully I ha

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Pedro Ruivo
On 05/14/2013 09:44 AM, Dan Berindei wrote: > > > > On Tue, May 14, 2013 at 11:37 AM, Manik Surtani > wrote: > > > On 14 May 2013, at 08:33, Dan Berindei > wrote: > >> If we want to keep it hidden, then I think it would be b

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Sanne Grinovero
On 14 May 2013 08:33, Dan Berindei wrote: > > > > On Mon, May 13, 2013 at 8:44 PM, Sanne Grinovero > wrote: >> >> On 13 May 2013 18:32, Manik Surtani wrote: >> > >> > On 13 May 2013, at 16:25, Mircea Markus wrote: >> > >> >> >> >> On 13 May 2013, at 15:05, Manik Surtani wrote: >> >> >> 100

Re: [infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

2013-05-14 Thread Dan Berindei
On Mon, May 13, 2013 at 8:44 PM, Sanne Grinovero wrote: > On 13 May 2013 18:32, Manik Surtani wrote: > > > > On 13 May 2013, at 16:25, Mircea Markus wrote: > > > >> > >> On 13 May 2013, at 15:05, Manik Surtani wrote: > >> > 100% agree, most users will have to interact with AdvancedCache at