Re: [infinispan-dev] Infinispan Query API module

2014-03-17 Thread Adrian Nistor
Hi, hibernate-hql-parser and hibernate-hql-lucene do not have a Final release yet, so at this moment it is not possible to avoid the alpha dependency. Cheers On 03/17/2014 01:57 AM, Bilgin Ibryam wrote: Hi all, I was working on extending camel-infinispan component with remote query

Re: [infinispan-dev] Learning ISPN7 DataContainer internals ... first steps

2014-03-17 Thread Tristan Tarrant
On 15/03/2014 03:11, cotton-ben wrote: We are of course very newbie wrt to ISPN7 DataContainer internals. Before we get into building and testing compelling exercises and hardening the OffHeapDefaultDataContainer, would you please comment wrt to your view that this seems like the correct

[infinispan-dev] Fwd: Infinspan configuration Distributed Node with distributed index and HotRod usage

2014-03-17 Thread Guillaume terral
Hello Infinispan Dev Team, After several days of testing and research with Sanne Grinovero, he asked me to send an email to this mailing list to expose you my issue with I nfinispan. I'm actually working on a project to build an infinispan cluster with the following requirement: -

Re: [infinispan-dev] Learning ISPN7 DataContainer internals ... first steps

2014-03-17 Thread cotton-ben
Many thanks for this counsel, Tristan. Dmitry and I are taking our first baby steps into learning the DataContainer internals. We will exercise this consideration that you mention - and exercise it explicitly - to ensure our adaptation is accommodating. In general, our approach to adapting

Re: [infinispan-dev] Learning ISPN7 DataContainer internals ... first steps

2014-03-17 Thread cotton-ben
Tristan, Does the ISPN7 API (or config) have a FluentBuilder mechanism via which Cache instance A can be bound to DataContainer A and Cache instance B can be bound to DataContainer B? Thx, Ben Dmitry -- View this message in context:

Re: [infinispan-dev] Learning ISPN7 DataContainer internals ... first steps

2014-03-17 Thread Tristan Tarrant
On 17/03/2014 13:14, cotton-ben wrote: Tristan, Does the ISPN7 API (or config) have a FluentBuilder mechanism via which Cache instance A can be bound to DataContainer A and Cache instance B can be bound to DataContainer B? Thx, Ben Dmitry you would do ConfigurationBuilder a = new

[infinispan-dev] New API to iterate over current entries in cache

2014-03-17 Thread William Burns
While working on ISPN-4068 to add the current state to listeners that were added I found that what I essentially needed was a way to iterate over the entries of the cache. I am thinking of adding this to the public API available on the AdvancedCache interface. I wanted to get your guy's opinions

Re: [infinispan-dev] New API to iterate over current entries in cache

2014-03-17 Thread Radim Vansa
Why listeners are not invoked? JCache iterator() notifies the listeners. Can the iterator remove entries? I assume there's no ordering guarantee, but behaviour under concurrent changes would be rather tricky. I don't like the idea of iterating over changing structure. If you need to iterate

Re: [infinispan-dev] New API to iterate over current entries in cache

2014-03-17 Thread William Burns
On Mon, Mar 17, 2014 at 10:45 AM, Radim Vansa rva...@redhat.com wrote: Why listeners are not invoked? JCache iterator() notifies the listeners. Like I mentioned this can be changed. However, I have not seen a cache entry visitor listener in JCache. The only listeners I am aware of are for

Re: [infinispan-dev] Infinispan - Hadoop integration

2014-03-17 Thread Emmanuel Bernard
Got it now. That being said, if Alan is correct (one JVM per M/R task run per node), we will need to implement C/S local key and keyset lookup. Emmanuel On 14 Mar 2014, at 12:34, Sanne Grinovero sa...@infinispan.org wrote: On 14 March 2014 09:06, Emmanuel Bernard emman...@hibernate.org wrote:

Re: [infinispan-dev] Infinispan - Hadoop integration

2014-03-17 Thread Alan Field
For Map/Reduce v1 this is definitely the case: https://hadoop.apache.org/docs/r1.2.1/mapred_tutorial.html#Task+Execution+%26+Environment The TaskTracker executes the Mapper / Reducer task as a child process in a separate jvm. I believe this is also the case for Map/Reduce v2, but I

Re: [infinispan-dev] Infinispan - Hadoop integration

2014-03-17 Thread Gustavo Fernandes
Yes, the M/R v1 by default launches one *new* JVM per task, so during the execution of a certain Job, at a given moment in a node there could be dozens of JVMs running in parallel, that will be destroyed when the task (map or reduce) finishes. It is possible to instruct the map reduce system to

Re: [infinispan-dev] Infinispan - Hadoop integration

2014-03-17 Thread Emmanuel Bernard
Well that’s only a guestimate but if I had to put a number, this approach is going to be shit slow +- 10% compared to what Infinispan M/R does (despite all of its limitations). We can do the proto but at some stage we might want to take over and replace some of that JVM spawn logic. Especially

Re: [infinispan-dev] New API to iterate over current entries in cache

2014-03-17 Thread Sanne Grinovero
I do realize you need such a feature, still as I pointed out when we first drafted it I'm skeptical because of the complexities you mention. It highly depends on what use cases we want to address, but as a general purpose solution I think this initial state received by the clients needs to be

Re: [infinispan-dev] New API to iterate over current entries in cache

2014-03-17 Thread William Burns
On Mon, Mar 17, 2014 at 1:43 PM, Sanne Grinovero sa...@infinispan.org wrote: I do realize you need such a feature, still as I pointed out when we first drafted it I'm skeptical because of the complexities you mention. It highly depends on what use cases we want to address, but as a general