[infinispan-dev] Replicated caches and initial state transfer

2011-02-07 Thread Tristan Tarrant
Dear all, I recently spent some time tracking a problem with my Infinispan-using application related to replicated caches (I appeared briefly on IRC yesterday with this issue). I finally managed to solve my problem by enabling stateTransferRetrieval fetchInMemoryState=true / which I thought would

[infinispan-dev] Using nio and/or aio for FileCacheStore

2011-02-08 Thread Tristan Tarrant
Dear all, has anybody looked into using either nio or aio for the FileCacheStore to improve its performance ? I was thinking of working a little on this for fun. Tristan ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org

Re: [infinispan-dev] Using nio and/or aio for FileCacheStore

2011-02-09 Thread Tristan Tarrant
When you mention btree you mean to overcome potential performance degradation caused by many files in one directory (at both the filesystem level and because the root.listFiles() is used) ? Tristan On Tue, Feb 8, 2011 at 17:48, Manik Surtani ma...@jboss.org wrote: There was some discussion on

Re: [infinispan-dev] Using nio and/or aio for FileCacheStore

2011-02-09 Thread Tristan Tarrant
Ah, yes, just noticed :) On Wed, Feb 9, 2011 at 12:08, Sanne Grinovero sanne.grinov...@gmail.comwrote: 2011/2/9 Tristan Tarrant tristan.tarr...@gmail.com: When you mention btree you mean to overcome potential performance degradation caused by many files in one directory (at both

Re: [infinispan-dev] 5.0.0.BETA2 this coming Friday?

2011-04-15 Thread Tristan Tarrant
I also want to try and push for completion of my Cassandra 0.6/0.7/0.8 compatibility layer in order to get that in. Tristan On Fri, Apr 15, 2011 at 10:25, Galder Zamarreño gal...@redhat.com wrote: Yeah, let's push it to Monday. On Apr 12, 2011, at 7:30 PM, Peter Muir wrote: Any chance we

Re: [infinispan-dev] Please update your IDE's template / copyright settings

2011-04-25 Thread Tristan Tarrant
Indeed, http://mathieu.carbou.free.fr/p/maven-license-plugin/check-mojo.html Tristan On Tue, Apr 26, 2011 at 03:10, 이희승 (Trustin Lee) trus...@gmail.comwrote: Quick lazy question: can it be configured to fail the build if license header is missing or incorrect, instead of replacing them

Re: [infinispan-dev] 5.0.0.CR1 this Thursday? (28th April)

2011-04-26 Thread Tristan Tarrant
I have just got permission to upload my artifacts for the Cassandra abstraction layer to Maven central, so I can finish the latest touches and issue a pull request later today (re https://issues.jboss.org/browse/ISPN-980) Tristan On Tue, Apr 26, 2011 at 08:47, Galder Zamarreño gal...@redhat.com

Re: [infinispan-dev] What are the current Maven Repos needed?

2011-04-26 Thread Tristan Tarrant
On Tue, Apr 26, 2011 at 11:49, Manik Surtani ma...@jboss.org wrote: Jason, Tristan Tarrant - who maintains this cache store - has his own repo for Cassandra pieces, and this is specified in the pom: https://github.com/infinispan/infinispan/blob/master/cachestore/cassandra/pom.xml#L95

Re: [infinispan-dev] [Pull Request] ISPN-961 - Spring Integration

2011-05-02 Thread Tristan Tarrant
I have a problem with the timing of this: 5.0.0.CR1 has already been released and the focus should be on bugfixing and documentation work. Therefore I believe this should be postponed to 5.1.0. I understand it is just an addition and not modifying anything already there, but it has its impact

Re: [infinispan-dev] [Pull Request] ISPN-961 - Spring Integration

2011-05-14 Thread Tristan Tarrant
On Fri, May 13, 2011 at 15:06, Manik Surtani ma...@jboss.org wrote: Trust me, stability is top on my priority for 5.0.  :-) The Spring module is something Olaf contributed and it doesn't impact stability efforts on the rest of the codebase. I have no problem with that, it's just that in my

Re: [infinispan-dev] Old JBoss repo in pom.xml

2011-05-19 Thread Tristan Tarrant
On Thu, May 19, 2011 at 10:52, Galder Zamarreño gal...@redhat.com wrote: Hi all, So, what's our current approach towards hardcoding maven repositories in the pom.xml files? Should we allow JBoss repos to be defined master/parent/pom.xml? This was added by Adrian C when he upgraded

Re: [infinispan-dev] Old JBoss repo in pom.xml

2011-05-19 Thread Tristan Tarrant
On Thu, May 19, 2011 at 12:18, Pete Muir pm...@redhat.com wrote: Maven guys used to recommend not putting repos in poms, but they changed that a while back and now don't discourage it. Don't know about that, but if you want something in Maven Central, it cannot depend on external repos. You

Re: [infinispan-dev] Confluence

2011-07-01 Thread Tristan Tarrant
Done On Jul 1, 2011 5:33 PM, Pete Muir pm...@bleepbleep.org.uk wrote: Hi all I have added: Galder Manik Mircea Michal Sanne Vladimir to Confluence as able to edit the docs. I can't seem to find: Dan Steve Bela Tristan Trustin Please can you guys log in once so I can give you

Re: [infinispan-dev] Cannot compile infinispan-cachestore-bdbje - missing maven artifacts

2011-08-30 Thread Tristan Tarrant
Nexus holds a local cache of artifacts retrieved from proxy repositories. You can also enable a scheduled job to clean up the local cache from LRU items. If the people who build from source already have local copies of those artifacts, the Nexus repo won't receive any hits, and therefore remove

Re: [infinispan-dev] All demos should be readily discoverable by RHQ

2011-08-30 Thread Tristan Tarrant
Maybe leave out the port, so that it chooses a random one ? This way I can run multiple demos at once. Tristan On Tue, Aug 30, 2011 at 14:47, Galder Zamarreño gal...@redhat.com wrote: Hi, I want all demos to come with the following system properties so that they can be immediately, without

Re: [infinispan-dev] All demos should be readily discoverable by RHQ

2011-08-30 Thread Tristan Tarrant
used search for it. Due to some changes made to make the plugin work better with AS, we know look for several JMX subsystems in the machine and see if any match the Infinispan one. On Aug 30, 2011, at 3:30 PM, Tristan Tarrant wrote: Maybe leave out the port, so that it chooses a random one

Re: [infinispan-dev] AS7 infinispan subsystem configurations for JDBC, Remote and Cloud cache stores

2011-09-06 Thread Tristan Tarrant
On Fri, Sep 2, 2011 at 19:20, Galder Zamarreño gal...@redhat.com wrote: Sure, but now that you're doing it, we'll have to revert it. Tristan, you probably want to create a jira in https://issues.jboss.org/browse/JBPAPP with component Enterprise Data Grid and fix version EDG 6.0.0.BETA

Re: [infinispan-dev] Versioned entries - overview of design, looking for comments

2011-09-15 Thread Tristan Tarrant
On 09/14/2011 04:03 PM, Manik Surtani wrote: So I've been hacking on versioned entries for a bit now, and want to run the designs by everyone. Adding an EntryVersion to each entry is easy, making this optional and null by default easy too, and a SimpleVersion a wrapper around a long and a

Re: [infinispan-dev] Request for feedback on cache store support in AS7 Infinispan subsystem

2011-09-15 Thread Tristan Tarrant
On 09/15/2011 05:34 PM, Paul Ferraro wrote: I've created a draft of what I thought could be workable schema for the remote and jdbc cache stores and would like some feedback. The amended Infinispan subsystem schema can be found here:

Re: [infinispan-dev] Request for feedback on cache store support in AS7 Infinispan subsystem

2011-09-16 Thread Tristan Tarrant
On 09/16/2011 09:56 AM, Sanne Grinovero wrote: On 16 September 2011 09:50, Tristan Tarrantttarr...@redhat.com wrote: I was thinking if there could be a better/simpler way and allow users to deploy key2stringmappers in the same way that jdbc drivers are deployed: by placing a jar with an

[infinispan-dev] AS7's Infinispan subsystem custom classes

2011-10-06 Thread Tristan Tarrant
Hi everybody, I've been thinking about what would be the best way for users to provide their own custom classes to be used by caches built by AS7's Infinispan subsystem. There are two ways: as modules or as deployments. I don't really like the modules approach as it requires users to then

Re: [infinispan-dev] AS7's Infinispan subsystem custom classes

2011-10-06 Thread Tristan Tarrant
On 10/06/2011 04:07 PM, Sanne Grinovero wrote: Hi Tristan, extensions to Infinispan are already using a service interface, have you noticed the infinispan-module.properties for example in the Query module and Lucene modules? Obviously these don't work when it's the subsystem doing the

Re: [infinispan-dev] Infinispan CLI

2011-10-14 Thread Tristan Tarrant
On 10/14/2011 10:58 AM, Michal Linhard wrote: also I guess we could reuse some auto-completion facilities from AS7 CLI. Actually my first attempt at this was simple Auto-complete is a must !!! Tristan ___ infinispan-dev mailing list

[infinispan-dev] Refactoring API and Commons

2011-10-25 Thread Tristan Tarrant
Hi all, I've been looking into refactoring certain interfaces and common classes as part of https://issues.jboss.org/browse/ISPN-1490 I have come across a couple of snags (more will come I'm sure). Firstly all modules use org.infinispan.util.logging.LoggingFactory to get a logger.

Re: [infinispan-dev] Refactoring API and Commons

2011-10-27 Thread Tristan Tarrant
On 10/27/2011 12:15 AM, Michal Linhard wrote: On 10/26/2011 06:29 PM, Galder Zamarreño wrote: First of all, what is the problem that the Hot Rod client has depending on core/ as it is? It's not clear from the JIRA. Personally, what I don't like about the infinispan-core dependency is that it

Re: [infinispan-dev] Refactoring API and Commons

2011-10-27 Thread Tristan Tarrant
On 10/27/2011 04:34 PM, Manik Surtani wrote: So +1 to all of Tristan's recommendations in his original email. Regarding schedule ? Tristan ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org

Re: [infinispan-dev] Refactoring API and Commons

2011-10-27 Thread Tristan Tarrant
On 10/27/2011 05:40 PM, Manik Surtani wrote: On 27 Oct 2011, at 16:01, Tristan Tarrant wrote: On 10/27/2011 04:34 PM, Manik Surtani wrote: So +1 to all of Tristan's recommendations in his original email. Regarding schedule ? As in, for 5.1? Again, I'm happy with this. Ok, I'll issue

[infinispan-dev] Contributing to Infinispan: API, Commons, Core

2011-11-03 Thread Tristan Tarrant
Dear all, here are the paragraphs I want to add to the Contributing to Infinispan page in relation to the API, Commons, Core split. Comment please on clarity, grammar, spelling, etc API, Commons, Core In order to provide proper separation between public APIs, common utilities and the

Re: [infinispan-dev] Hot Rod client code breaks with cache container changes

2011-11-07 Thread Tristan Tarrant
Yes, that's the snag. Unfortunately the CacheContainer in core is a little too complex to be put in API. I had the choice of using the names Cache and CacheContainer in -api and introduce EmbeddedCache and EmbeddedCacheContainer in -core, but that meant changing lots of code around that. So I

[infinispan-dev] Oracle NoSQL

2011-11-16 Thread Tristan Tarrant
It seems the big guys have produced a NoSQL database. It looks like a cross between Coherence and BerkeleyDB (probably uses code from both): http://www.oracle.com/technetwork/database/nosqldb/overview/index.html Tristan ___ infinispan-dev mailing list

[infinispan-dev] API, Commons, Core, OSGi, split packages, signed packages, etc

2011-11-23 Thread Tristan Tarrant
Well, it seems like the creation of the -api and -commons artifacts is causing a few problems (we knew about them, but we can no longer ignore them): - they have introduced split packages, i.e. classes in the same package coming from multiple jar - they cause breakage in the

Re: [infinispan-dev] Fwd: [JBoss JIRA] (ISPN-1562) Alternative needed for Cache.getConfiguration()

2011-11-24 Thread Tristan Tarrant
On 11/24/2011 10:53 AM, Pete Muir wrote: All, Any ideas on the below? Issue is that the sane name for this method is getConfiguration() but this name is already taken. Options I see are: 1) Use another name (ugh) What about a pseudo-fluent Cache.configuration() ? You can then add

Re: [infinispan-dev] API, Commons, Core, OSGi, split packages, signed packages, etc

2011-11-24 Thread Tristan Tarrant
On 11/23/2011 11:40 AM, Tristan Tarrant wrote: - we put things back as they were, unsplitting the core artifact and removing api and commons. This has minimal impact. - we properly refactor api and commons into their own packages. This will cause considerable churn. I've been thinking about

Re: [infinispan-dev] 5.1.0.CR1 update

2011-11-28 Thread Tristan Tarrant
On 11/28/2011 04:50 PM, Galder Zamarreño wrote: Hi all, How are things looking for CR1? What's currently in your plate for this? I want to release CR1 asap to test with Hibernate 2LC and use1PcForAutoCommitTransactions. And especially with the artifact unsplit, which has been the cause of

Re: [infinispan-dev] 5.1.0.CR1 update

2011-11-28 Thread Tristan Tarrant
On 11/28/2011 05:23 PM, Tristan Tarrant wrote: On 11/28/2011 04:50 PM, Galder Zamarreño wrote: Hi all, How are things looking for CR1? What's currently in your plate for this? I want to release CR1 asap to test with Hibernate 2LC and use1PcForAutoCommitTransactions. And especially

Re: [infinispan-dev] Fwd: [jgroups-dev] Incompatible change in 3.1.0

2011-11-29 Thread Tristan Tarrant
On 11/29/2011 11:59 AM, Bela Ban wrote: On 11/29/11 11:43 AM, Tristan Tarrant wrote: On 11/29/2011 11:28 AM, Bela Ban wrote: Yes, I thought about this too, but then trashed the idea because enums take up too much memory. Since an enum is a class, and an enum instance is an instance (although

[infinispan-dev] Fwd: [JBoss JIRA] (ISPN-1629) REST server test suite should use 5.1 namespace

2011-12-20 Thread Tristan Tarrant
Original Message Subject: [JBoss JIRA] (ISPN-1629) REST server test suite should use 5.1 namespace Date: Tue, 20 Dec 2011 03:21:09 -0500 (EST) From: Tristan Tarrant (Created) (JIRA) jira-eve...@lists.jboss.org To: ttarr...@redhat.com REST server test suite should use 5.1

Re: [infinispan-dev] Infinispan 5.1.0.CR3 release

2012-01-04 Thread Tristan Tarrant
On 01/04/2012 04:39 PM, Galder Zamarreño wrote: We're in CR stages though so what's the point of releasing a CR which actually is not really a CR? ;) I can see the point of faster, more frequent releases in BETA/ALPHA stages because we can push over things, but doesn't make sense doing that

Re: [infinispan-dev] compiler warning: code cache is full

2012-01-20 Thread Tristan Tarrant
The infinispan-spring module is quite late in the sequence of modules to be compiled so it could be that there is a bug in your version of OpenJDK's compiler (incidentally which one is it ?). Maybe just adding fork to the maven-compiler-plugin would work around it. Can you try with the Oracle

Re: [infinispan-dev] JBoss Libra

2012-01-31 Thread Tristan Tarrant
On 01/31/2012 03:32 PM, Bela Ban wrote: IIRC you can look at the size of the young and old generation via JMX, and there you can see how much memory has accumulated. Does that work when using G1 ? Tristan ___ infinispan-dev mailing list

Re: [infinispan-dev] Very confusing L1 cache configuration defaults

2012-03-21 Thread Tristan Tarrant
On 03/21/2012 03:21 PM, Michal Linhard wrote: Hi, when I was trying to figure out what is the L1 default configuration The JDG default: DISABLED when there is no l1-lifespan attribute in the elementdistributed-cache /, L1 is disabled. The Infinispan default: DISABLED when there is

[infinispan-dev] IMPORTANT: Renamed JDG repository

2012-03-26 Thread Tristan Tarrant
Hi everybody, to align with the current naming, the JDG repository on GitHub has been renamed from https://github.com/infinispan/edg to https://github.com/infinispan/jdg Please change all of the references in your clones to the new name. Thanks Tristan

Re: [infinispan-dev] IMPORTANT: Renamed JDG repository

2012-03-26 Thread Tristan Tarrant
I think Manik will have to do that, since I don't have admin rights on the edg-quickstarts project. Tristan On 03/26/2012 12:19 PM, Martin Gencur wrote: Tristan, do you think you could also rename edg-quickstart to jdg-quickstart? Thanks Martin Tristan Tarrant píše v Mon 26. 03. 2012 v

Re: [infinispan-dev] Redesigning CacheStore and CacheLoader SPIs

2012-04-02 Thread Tristan Tarrant
I dislike the current way of configuring stores via property. As part of my work for ISPN-1821 I will also introduce the ability for stores to provide their own configuration parsers so that we can have more readable schemas. Participating in JTA is obviously high on the desired list, and I'd

Re: [infinispan-dev] Redesigning CacheStore and CacheLoader SPIs

2012-04-02 Thread Tristan Tarrant
On 04/02/2012 03:17 PM, Mircea Markus wrote: On 2 Apr 2012, at 14:02, Tristan Tarrant wrote: I dislike the current way of configuring stores viaproperty. As part of my work for ISPN-1821 I will also introduce the ability for stores to provide their own configuration parsers so that we can

Re: [infinispan-dev] Script to speed up sending pull reqs for OSX

2012-05-03 Thread Tristan Tarrant
Under Linux you'd probably use xdg-open URL which uses the user's preferred browser (and not hardcoded chrome as below). Tristan On 05/03/2012 12:08 PM, Galder Zamarreño wrote: Hi, I've been playing around with a script to speed up pull req sends and I've come up with this for OSX:

Re: [infinispan-dev] Map/Reduce or other batch processing on CacheLoader stored entries

2012-05-09 Thread Tristan Tarrant
On 05/09/2012 12:10 PM, Sanne Grinovero wrote: 3) I need the Map/Reduce to execute also on all entries stored in the CacheLoader entries. I don't believe that's the case today.. and even if I wanted to use just the Executor, I believe the CacheLoader API needs to provide some option to load

Re: [infinispan-dev] range query in Infinispan !!

2012-05-14 Thread Tristan Tarrant
On 05/14/2012 07:01 PM, Sanne Grinovero wrote: but what's this concept of key order you're mentioning ?? The complexity of such a patch would be close to rewrite Infinispan !? No actually that would be simpler since we likely learned a bit from the first time :D I had drafted some Are you

Re: [infinispan-dev] How to configure Infinispan with transactions, backed by relational DB on JBoss AS 7 vs. Tomcat 7 ?

2012-05-24 Thread Tristan Tarrant
On 05/23/2012 09:31 PM, Dan Berindei wrote: On Wed, May 23, 2012 at 9:06 PM, Sanne Grinoverosa...@infinispan.org wrote: Nice work Martin! Just one doubt, especially since it's a rather long post.. why would someone want to use c3p0 on AS7 ? Isn't the included datasource pool far superior?

Re: [infinispan-dev] Map/Reduce or other batch processing on CacheLoader stored entries

2012-05-24 Thread Tristan Tarrant
On 05/24/2012 07:59 PM, Sanne Grinovero wrote: Tristan, Even a simple loadAll(CallableV) would do the trick I'm not understanding this. Could you elaborate a bit? I was more thinking of a loadAllInto(Consumer engine); Yes, when I said Callable I meant exactly what you wrote. Tristan

Re: [infinispan-dev] Map/Reduce or other batch processing on CacheLoader stored entries

2012-05-25 Thread Tristan Tarrant
On 05/25/2012 11:47 AM, Manik Surtani wrote: loadAllInto(Consumer engine); Yes, when I said Callable I meant exactly what you wrote. Except in more generic terms. :) I suppose you specifically meant loadAll(CallableCacheEntry c) ? Yes, but probably loadAll is not too appropriate, since

Re: [infinispan-dev] Finding unused dependecies in infinispan distribution zip

2012-06-19 Thread Tristan Tarrant
On 06/18/2012 04:42 PM, Manik Surtani wrote: Everyone, please have a look and confirm that all of the dependencies here are actually necessary in each module. As I said before the cassandra cachestore module is pulling in cassandra-all because of some stupidity on my part. I have created

Re: [infinispan-dev] Update on next release date (5.2.0.Alpha3)

2012-08-03 Thread Tristan Tarrant
On 08/03/2012 01:31 PM, Mircea Markus wrote: Hi, The main goal of the next Alpha release is getting NBST(ISPN-1424) out (alpha-stable). After discussing with Dan and Adrian, here's the action plan: - Dan/Adrian will issue a pull request Mon/Tue (6-7 Aug) - given the complexity of the

[infinispan-dev] Cache Loaders configuration dilemma

2012-08-08 Thread Tristan Tarrant
Hi guys, as part of ISPN-1978, I'm migrating the Cache Loaders to the new configuration builder APIs. I want to change the init() method of the CacheLoaders which has the following signature public void init(CacheLoaderConfig config, Cache?, ? cache, StreamingMarshaller m) throws

Re: [infinispan-dev] Cache Loaders configuration dilemma

2012-08-09 Thread Tristan Tarrant
are expected soon anyway. Sanne On 8 August 2012 18:51, Tristan Tarrant ttarr...@redhat.com wrote: Hi guys, as part of ISPN-1978, I'm migrating the Cache Loaders to the new configuration builder APIs. I want to change the init() method of the CacheLoaders which has the following signature

Re: [infinispan-dev] We have 10 pull reqs outstanding...

2012-08-20 Thread Tristan Tarrant
Leave all the 5.1.x ones to me. Tristan On 08/20/2012 11:51 AM, Galder Zamarreño wrote: Barring the ones marked as deferred (in the title)… So, let's get cracking :) If you're taking any, note it in the assignment field. If there're already assigned to someone, leave it to them. Cheers,

[infinispan-dev] Version names

2012-08-20 Thread Tristan Tarrant
Hi all, for the nth time I've been reminded that Infinispan doesn't follow the JBoss Project Versioning Guidelines as defined at [1]. Can we start following these from the next public release ? Tristan [1] https://community.jboss.org/wiki/JBossProjectVersioning

Re: [infinispan-dev] Version names

2012-08-20 Thread Tristan Tarrant
On 08/20/2012 03:38 PM, Mircea Markus wrote: On 20 Aug 2012, at 14:29, Tristan Tarrant wrote: Hi all, for the nth time I've been reminded that Infinispan doesn't follow the JBoss Project Versioning Guidelines as defined at [1]. Can we start following these from the next public release ? +1

[infinispan-dev] 5.2 XML schema

2012-08-23 Thread Tristan Tarrant
Hi all, as part of my work on ISPN-1978 [1] and ISPN-2210 [2], I have hit a snag with the XML schema and the extensibility I want to allow: - currently elements in the global and cache configuration can be placed in any order and can happen at most once (using the xs:all / element) - I want to

Re: [infinispan-dev] 5.2 XML schema

2012-08-23 Thread Tristan Tarrant
, XML Schema 1.1. (Btw, I wonder if this works on IntelliJ?) On Aug 23, 2012, at 9:56 AM, Tristan Tarrant wrote: Hi all, as part of my work on ISPN-1978 [1] and ISPN-2210 [2], I have hit a snag with the XML schema and the extensibility I want to allow: - currently elements in the global

Re: [infinispan-dev] 5.2 XML schema

2012-08-23 Thread Tristan Tarrant
Ah, and IntelliJ Idea has the same issue in its latest v11... We can always go with my 3rd solution and switch to a v1.1 schema for Infinispan 6.0 Tristan On 08/23/2012 10:33 AM, Tristan Tarrant wrote: Well, XMLSchema 1.1 became standard in April this year, so I guess they were being overly

Re: [infinispan-dev] Removing AHM.commit() call in ISPN-2212

2012-08-23 Thread Tristan Tarrant
On 08/23/2012 12:41 PM, Galder Zamarreño wrote: For local caches (no cluster, no mrashalling), atomic hash map do not really make sense. Should we log a warning if an AHM is used in a local context ? Tristan ___ infinispan-dev mailing list

Re: [infinispan-dev] Running CDI test suite

2012-09-05 Thread Tristan Tarrant
Oh dear, JUnit where art thou ? Tristan On 09/05/2012 02:46 PM, Vladimir Blagojevic wrote: Dan, look at the comments for getClasses in testng, it was introduced for YAML, getXMLClasses is the original method. I could not get cdi testsuite working with any other version of testng because of

Re: [infinispan-dev] Infinispan master in CI

2012-09-17 Thread Tristan Tarrant
I'm chasing that same issue. It's most probably caused by some of my config changes, although a git-bisect would be ideal Tristan On 09/17/2012 03:12 PM, Dan Berindei wrote: BTW, after updating this morning, query and hotrod-client are not finishing properly on my machine either. I'm seeing

Re: [infinispan-dev] BUILD FAILURE

2012-09-18 Thread Tristan Tarrant
Someone forgot to upgrade jgroups in parent/pom.xml ? Tristan On 09/18/2012 02:40 PM, Sanne Grinovero wrote: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project infinispan-core: Compilation failure [ERROR]

Re: [infinispan-dev] JIRA priorities

2012-09-20 Thread Tristan Tarrant
+1 On 09/20/2012 05:09 PM, Mircea Markus wrote: I'd like a way to see what are the JIRAs that are absolutely critical for a release (i.e. won't release without them in) and the ones that won't delay the release, but would be rolled over to next release. I'm thinking to mark these JIRAs as: -

Re: [infinispan-dev] admin operations for xsite replication

2012-10-05 Thread Tristan Tarrant
These need to be exposed in the CLI. Tristan On 10/04/2012 02:58 PM, Mircea Markus wrote: Hi, Re: https://issues.jboss.org/browse/ISPN-2320 Here is a list of admin operations I'd like to implement for ISPN-2320: - status: shows a map with all defined sites and their status: available xor

Re: [infinispan-dev] RAC: Reliable Asynchronous Clustering

2012-10-08 Thread Tristan Tarrant
On 10/08/2012 10:21 AM, Bela Ban wrote: Hi all, I've come up with an alternative to sync TX updates across sites. It's based on the requirement that we need high reliability between sites, but yet it isn't feasible to run 2PCs across sites. RAC [1] is supposed to be almost as fast as async

[infinispan-dev] XSite Declarative configuration

2012-10-18 Thread Tristan Tarrant
Hi all, sorry for this being a bit late (but since it is before CR1 it is not that late :), but the XSite config looks a bit redundant and we should improve it a bit before release |||global||| |||...| |sites| |local||=||LON||/| |||...| |/||global||| Since this just provides the local

[infinispan-dev] XSite configuration in AS7/EAP/JDG

2012-10-18 Thread Tristan Tarrant
Hi all, right on the heels of my previous e-mail related to declarative configuration of XSite in Infinispan, I also would like to tackle the issue of how we are going to translate it to the configuration dialect in AS7/EAP/JDG. Here's my rough concept: add the local site name to the

Re: [infinispan-dev] Avoid Collections.emptySet() / emptyMap() / emptyList

2012-10-19 Thread Tristan Tarrant
On 10/19/2012 06:28 PM, Dan Berindei wrote: Galder, what JDK are you using? OpenJDK 1.7 uses EmptyIterator.EMPTY_ITERATOR since 2007: http://hg.openjdk.java.net/jdk7/jdk7/jdk/annotate/37a05a11f281/src/share/classes/java/util/Collections.java I don't have JDK 1.6 sources on hand to check,

Re: [infinispan-dev] Testsuite: hanging TestNG, CDI proken

2012-10-29 Thread Tristan Tarrant
I have further changes to the CDI pom, so please issue your PR first :) Tristan On 10/29/2012 04:25 PM, Manik Surtani wrote: For what it's worth, I just created a branch with: * TestNG 6.7 as a dependency in parent/pom.xml (so all modules use this) * Updated cdi/extension/pom.xml to use

Re: [infinispan-dev] ISPN-2463: Hopefully one final question

2012-11-19 Thread Tristan Tarrant
On 11/20/2012 03:47 AM, Navin Surtani wrote: Hey all, Nearly finished up with cleaning up the compile errors - should be able to run the test-suite by this afternoon in order to make sure that there aren't any failures. I was wondering, though, whether the tests in the package

Re: [infinispan-dev] ISPN-2463: Hopefully one final question

2012-11-21 Thread Tristan Tarrant
compatibility issue. On 21 November 2012 10:26, Dan Berindei dan.berin...@gmail.com wrote: I think we should only keep the tests for the conversion between the new config and the legacy config (and the other way around), eventually add more of those. În data de 20.11.2012 09:57, Tristan Tarrant ttarr

Re: [infinispan-dev] ISPN-2463: Hopefully one final question

2012-11-22 Thread Tristan Tarrant
to the way that things would be configured, and some defaults have been changed - but there are still ways to do the same thing correct? Navin Surtani Software Engineer JBoss SET JBoss EAP Twitter: @navssurtani - Original Message - From: Tristan Tarrant

Re: [infinispan-dev] Separate ExecutorService for map/reduce tasks?

2012-12-05 Thread Tristan Tarrant
In 6.0 I would really like to go away from the current executor configuration (e.g. a specific element for every executor) and allow the creation of named executors (this is how the AS configuration works). Tristan On 11/27/2012 09:07 PM, Vladimir Blagojevic wrote: Hi, Although

Re: [infinispan-dev] Separate ExecutorService for map/reduce tasks?

2012-12-05 Thread Tristan Tarrant
) .eviction().executor(sched); Don't take the above as a proposed API, it's just to make things clearer. Tristan On 12/05/2012 03:55 PM, Vladimir Blagojevic wrote: On 12-12-05 5:07 AM, Mircea Markus wrote: On 5 Dec 2012, at 08:36, Tristan Tarrant wrote: In 6.0 I would really like to go away from

[infinispan-dev] Server Jira component

2012-12-06 Thread Tristan Tarrant
Hi all, I finally went ahead and created the Server component on Jira to hold all issues related to the AS-based Infinispan Server (aka JDG server). I have renamed the previous Servers component to a more appropriate Remote Protocols. A note about versions: Server versions will be aligned with

Re: [infinispan-dev] Server Jira component

2012-12-07 Thread Tristan Tarrant
, Galder Zamarreño wrote: On Dec 6, 2012, at 1:16 PM, Mircea Markus mmar...@redhat.com wrote: On 6 Dec 2012, at 10:07, Tristan Tarrant wrote: Hi all, I finally went ahead and created the Server component on Jira to hold all issues related to the AS-based Infinispan Server (aka JDG server). I have

[infinispan-dev] HotRod server and Rolling Upgrades

2012-12-11 Thread Tristan Tarrant
So, I thought we had everything ready to go for HotRod rolling upgrades: * have HotRod server full of data (the source) * configure a new HotRod server (the target) with a RemoteCacheStore pointing to the source (using rawValues) * clients switch over to the target server which on cache

Re: [infinispan-dev] HotRod server and Rolling Upgrades

2012-12-11 Thread Tristan Tarrant
On 12/11/2012 02:35 PM, Dan Berindei wrote: +1 to eliminate the value wrappers. -1 to adding a dependency from core to server-core, if you feel creating and maintaining a separate MigrationRemoteCacheStore is too much work I'd rather we moved CacheValue to core. The dependency would only be

Re: [infinispan-dev] Fwd: Test suite

2012-12-13 Thread Tristan Tarrant
Galder, the arquillian group must be enabled in surefire Tristan On 12/13/2012 12:32 PM, Galder Zamarreño wrote: Hey guys, We've started seeing some funny issues with the CDI testsuite with failures such as: java.lang.IllegalStateException: No TestRunnerAdaptor found, @BeforeSuite has

Re: [infinispan-dev] HotRod server and Rolling Upgrades

2012-12-14 Thread Tristan Tarrant
with a full-time RemoteCacheStore. -Dennis On 12/11/2012 07:02 AM, Tristan Tarrant wrote: So, I thought we had everything ready to go for HotRod rolling upgrades: * have HotRod server full of data (the source) * configure a new HotRod server (the target) with a RemoteCacheStore pointing

Re: [infinispan-dev] [ISPN1797] Cannot find ispn core metadata file

2013-01-03 Thread Tristan Tarrant
That file is generated by the build machinery: mvn -pl parent,core clean install -DskipTests will build it and package it for you Tristan On 01/03/2013 03:29 AM, Guillaume SCHEIBEL wrote: Hi guys, I'm finishing the last version of the MongoDB cache store module and I'm facing to a problem

Re: [infinispan-dev] graceful restart to corrupt CacheStore data

2013-01-25 Thread Tristan Tarrant
On 01/25/2013 12:22 PM, Galder Zamarreño wrote: Not at first glance, but if he can replicate it, he should submit a JIRA. If he can attach a test case to replicate the issue even better :) And if he can solve it, that would be perfect :) Tristan ___

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-28 Thread Tristan Tarrant
On 01/26/2013 10:55 PM, Ales Justin wrote: What's ScriptEngine? javax.script ? Tristan ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/infinispan-dev

Re: [infinispan-dev] Map/Reduce Tasks and classpath

2013-01-28 Thread Tristan Tarrant
On 01/26/2013 09:32 PM, Ray Tsang wrote: I just wrote something quick that uses groovy scripts. my hope is to be able to execute any arbitrary scripted mapper/reducer w/o needing to, say, redeploy/restart the node/server. The code is here:

Re: [infinispan-dev] Lucene 4 / Infinispan performance

2013-01-29 Thread Tristan Tarrant
On 01/29/2013 02:30 PM, Sanne Grinovero wrote: @Manik yes I'm not using a CacheStore, I would presume the same. This is why I've created the Lucene-specific CacheLoader, maybe I should complete the job and make it a CacheStore. Oh yeah, a Lucene CacheStore would be nice. Tristan

Re: [infinispan-dev] Infinispan server modules

2013-01-31 Thread Tristan Tarrant
And in fact the storage-only configuration has also helped uncover a few topology bugs which were fixed during 5.2. So that issue will be implicitly be fixed when we release the community server. Tristan On 01/31/2013 10:05 AM, Galder Zamarreño wrote: I wouldn't bother. I suggested a

Re: [infinispan-dev] Fwd: Moving to Java 7?

2013-02-08 Thread Tristan Tarrant
I think we should definitely move to Java 7 for Infinispan 6.0. Coincidentally, I've been packaging netty 3.6.x which needs java 7 to build but generates Java 6-compatible bytecode using various maven plugins to perform the magic, which could be used as an interim solution. Tristan On

[infinispan-dev] Rolling upgrades improvement proposal

2013-02-13 Thread Tristan Tarrant
Hi all, the current implementation of rolling upgrades is lacking in a few areas which I think warrant urgent attention in the scope of JDG 6.1 (i.e. for the 5.2.x-cycle): * support for rolling upgrades from JDG 6.0.x to JDG 6.1.x * efficiency of the bulk key synchronization (all keys are

Re: [infinispan-dev] Rolling upgrades improvement proposal

2013-02-13 Thread Tristan Tarrant
We should use versions. Tristan On 02/13/2013 11:05 AM, Manik Surtani wrote: During a push, wouldn't you hit consistency issues with ongoing (applictaion-initiated) writes on the new cluster? On 13 Feb 2013, at 09:09, Tristan Tarrant ttarr...@redhat.com mailto:ttarr...@redhat.com wrote

Re: [infinispan-dev] JGroups 3.3.0.Beta1

2013-03-01 Thread Tristan Tarrant
I can tell you that: EAP 6.1 is AS7.2 So JGroups 3.2 and Infinispan 5.2. Tristan On 02/28/2013 01:21 PM, Bela Ban wrote: Thx, I'm afraid I don't know which components are going to be included in EAP 6.1; ask the EAP folks. On 2/28/13 1:14 PM, Sanne Grinovero wrote: Very nice, thanks

Re: [infinispan-dev] Infinispan Server repository

2013-03-12 Thread Tristan Tarrant
On 03/12/2013 04:09 PM, Dan Berindei wrote: Cool! When are we moving the server modules to the infinispan-server project? ;) As soon as we have CI to check that Dan's commits to Infinispan don't break Infinispan Server :) Tristan ___ infinispan-dev

Re: [infinispan-dev] Bye bye wrappers, ComparingConcurrentHashMapv8 is here (ISPN-2281)

2013-03-18 Thread Tristan Tarrant
On 03/18/2013 01:21 PM, Galder Zamarreño wrote: Hi all, A heads up on what is going on with https://issues.jboss.org/browse/ISPN-2281 While discussing this, Tristan and I came to the conclusion that we could avoid the need to create some wrappers required to fulfill requirements in this

Re: [infinispan-dev] Schema reference documentation

2013-03-18 Thread Tristan Tarrant
Unfortunately in my over-eager axing of the doclets in infinispan-tools, the Schema doclet got chewed. I will reinstate it asap. Tristan On 03/18/2013 05:28 PM, Galder Zamarreño wrote: Why outdated? What would be the new way to lookup that info? On Mar 14, 2013, at 10:37 PM, Sanne Grinovero

Re: [infinispan-dev] Schema reference documentation

2013-03-18 Thread Tristan Tarrant
I've done some research after you pointed it out. Didn't know that pseudo-javadoc existed, and thinking the code that generated it was related to the JAXB stuff, I removed it. Tristan On 03/18/2013 05:35 PM, Sanne Grinovero wrote: On 18 March 2013 16:30, Tristan Tarrant ttarr...@redhat.com

Re: [infinispan-dev] a nice HTML5 console for Infinispan a question on MBean names...

2013-03-20 Thread Tristan Tarrant
On 03/19/2013 06:55 PM, Dennis Reed wrote: This is an invalid use of the MBean names. The keys in an ObjectName are unordered. It is a bug to depend on a specific ordering of the keys. Thanks Dennis, I was about to write that. On 03/19/2013 10:07 AM, Manik Surtani wrote: On 27 Feb 2013, at

Re: [infinispan-dev] a nice HTML5 console for Infinispan a question on MBean names...

2013-03-20 Thread Tristan Tarrant
On 03/20/2013 11:35 AM, Manik Surtani wrote: As in, the JMX spec does not guarantee the order of ObjectName components? Indeed. Does this mean that [1] is solved by an existing MBean? [1] https://issues.jboss.org/browse/ISPN-2926 Yes, each CacheManager gets an Interpreter MBean which

Re: [infinispan-dev] Bye bye wrappers, ComparingConcurrentHashMapv8 is here (ISPN-2281)

2013-03-20 Thread Tristan Tarrant
On 03/20/2013 11:51 AM, Manik Surtani wrote: On 18 Mar 2013, at 12:21, Galder Zamarreño gal...@redhat.com wrote: IOW, you'll be able to say: create an Infinsipan Server that has String as key and value of type X, where X is the actual data type, no metadata!! The metadata (version,

  1   2   3   4   5   6   >