<div dir="ltr"><br><div class="gmail_extra">Welcome Gustavo.<br></div><div class="gmail_extra">It is great to be colleagues again.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2014 14:29,  <span dir="ltr">&lt;<a href="mailto:infinispan-dev-request@lists.jboss.org" target="_blank">infinispan-dev-request@lists.jboss.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send infinispan-dev mailing list submissions to<br>
        <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:infinispan-dev-request@lists.jboss.org">infinispan-dev-request@lists.jboss.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:infinispan-dev-owner@lists.jboss.org">infinispan-dev-owner@lists.jboss.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of infinispan-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: [!] Reorganization of dependencies &amp; release  process<br>
      (Sanne Grinovero)<br>
   2. Re: Configuration XSD missing, Infinispan not parsing v.6<br>
      configuration files ? (Pedro Ruivo)<br>
   3. Re: Configuration XSD missing, Infinispan not parsing v.6<br>
      configuration files ? (Sanne Grinovero)<br>
   4. Re: Clustered Listener (William Burns)<br>
   5. Welcome to Gustavo (Sanne Grinovero)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 14 May 2014 13:45:04 +0100<br>
From: Sanne Grinovero &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt;<br>
Subject: Re: [infinispan-dev] [!] Reorganization of dependencies &amp;<br>
        release process<br>
To: infinispan -Dev List &lt;<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>&gt;<br>
Cc: Hardy Ferentschik &lt;<a href="mailto:hardy@hibernate.org">hardy@hibernate.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAFm4XO1Dev09T%2BfyVw6OrxV40hGE9-MR3BUVw1gJsXuTnJsppw@mail.gmail.com">CAFm4XO1Dev09T+fyVw6OrxV40hGE9-MR3BUVw1gJsXuTnJsppw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On 14 May 2014 13:19, Adrian Nistor &lt;<a href="mailto:anistor@redhat.com">anistor@redhat.com</a>&gt; wrote:<br>
&gt; +1 for moving Infinispan lucene directory out<br>
&gt;<br>
&gt; But why move Query components out? And which ones did you have in mind?<br>
<br>
Because it depends on the Directory, but also on Hibernate Search, so<br>
it &quot;mandates&quot; a specific version of Apache Lucene.<br>
By moving these out of the core release, we can make Infinispan (core)<br>
releases independently from specific Lucene versions.<br>
<br>
Lucene lately is being quite aggressive in changes, and so doing we<br>
can have a single point of surgery at a time: the Directory first, tag<br>
it. Search, tag it.<br>
Then Infinispan Query and Infinispan full releases. Note how each<br>
component has the freedom to choose to *not* update Lucene or *not*<br>
update Infinispan core, if it needs to make unrelated fixes available<br>
early on.<br>
<br>
So I think it&#39;s necessary to move all Query components out too, seems<br>
like the only way out. A more open question is if other components<br>
would benefit from a similar model? I think so, although the reasons<br>
are less urgent.<br>
<br>
Sanne<br>
<br>
&gt;<br>
&gt; On 05/14/2014 12:50 AM, Sanne Grinovero wrote:<br>
&gt;&gt; This is a reboot of the thread previously started on both the<br>
&gt;&gt; infinispan-dev and the hibernate-dev mailing list as &quot;Handling of<br>
&gt;&gt; mutual dependency with Infinispan&quot; [1].<br>
&gt;&gt; We discussed further during the Hibernate fortnightly meeting [2], and<br>
&gt;&gt; came to the conclusion that we need Infinispan to change how some<br>
&gt;&gt; repositories are organised and how the release is assembled.<br>
&gt;&gt;<br>
&gt;&gt; # The problem<br>
&gt;&gt;<br>
&gt;&gt; To restate the issue, as you might painfully remember, every time<br>
&gt;&gt; there is a need for a Lucene update or a Search update we need to sync<br>
&gt;&gt; up for a complex dance of releases in both projects to accommodate for<br>
&gt;&gt; a small-step iterative process to handle the circular dependency.<br>
&gt;&gt; This problem is not too bad today as since a year we&#39;re releasing the<br>
&gt;&gt; Lucene Directory in an unusual - and very unmaintainable - temporary<br>
&gt;&gt; solution to be compatible with two different major versions of Apache<br>
&gt;&gt; Lucene; namely what Infinispan Query needs and what Hibernate Search<br>
&gt;&gt; needs are different modules.<br>
&gt;&gt; But the party is over, and I want to finally drop support for Lucene 3<br>
&gt;&gt; and cleanup the unusual and unmaintainable build mess targeting a<br>
&gt;&gt; single Lucene version only.<br>
&gt;&gt; As soon as we converge to building a single version however - we&#39;re<br>
&gt;&gt; back to the complex problem we had when we supported a single version<br>
&gt;&gt; which is handling of a circular dependency - just that the problem has<br>
&gt;&gt; worsened lately the Lucene project has been more active and more<br>
&gt;&gt; inclined than what it used to be to break both internal and public<br>
&gt;&gt; APIs.<br>
&gt;&gt;<br>
&gt;&gt; In short, we have a circular dependency between Hibernate Search and<br>
&gt;&gt; Infinispan which we&#39;ve been able to handle via hacks and some luck,<br>
&gt;&gt; but it imposes a serious threat to development flexibility, and the<br>
&gt;&gt; locked-in release process is not desirable either.<br>
&gt;&gt;<br>
&gt;&gt; # The solution<br>
&gt;&gt;<br>
&gt;&gt; we think in conclusion there&#39;s a single &quot;proper&quot; way out, and it also<br>
&gt;&gt; happens to provide some very interesting side effects in terms of<br>
&gt;&gt; maintenance overhead for everyone: Infinispan Core needs to release<br>
&gt;&gt; independently from the non-core modules.<br>
&gt;&gt; This would have the Lucene Directory depend on a released tag of<br>
&gt;&gt; infinispan-core, and be able to be released independently.<br>
&gt;&gt; Minor situations with benefit:<br>
&gt;&gt;   - we often don&#39;t make any change in the Lucene Directory, still we<br>
&gt;&gt; need to release it.<br>
&gt;&gt;   - when I actually need a release of it, I&#39;m currently begging for a<br>
&gt;&gt; quick release of Infinispan: very costly<br>
&gt;&gt; The Big Ones:<br>
&gt;&gt;   - we can manage the Lucene Directory to provide support for different<br>
&gt;&gt; versions of Lucene without necessarily breaking other modules<br>
&gt;&gt;   - we can release quickly what&#39;s needed to move Search ahead in terms<br>
&gt;&gt; of Lucene versions without needing to make the Infinispan Query module<br>
&gt;&gt; compatible at the same time (in case you haven&#39;t followed this area:<br>
&gt;&gt; this seems to be my main activity rather than making valuable stuff).<br>
&gt;&gt;<br>
&gt;&gt; The goal is of course to linearise the dependencies; it seems to also<br>
&gt;&gt; simplify some of our tasks which is a welcome side-effect. I expect it<br>
&gt;&gt; also to make the project less scary for new contributors.<br>
&gt;&gt;<br>
&gt;&gt; # How does it impact users<br>
&gt;&gt;<br>
&gt;&gt; ## Maven users<br>
&gt;&gt; modules will continue to be modules.. I guess nobody will notice,<br>
&gt;&gt; other than we might have a different versioning scheme, but we help<br>
&gt;&gt; people out via the Infinispan BOM.<br>
&gt;&gt;<br>
&gt;&gt; ## Distribution users<br>
&gt;&gt; There should be no difference, other than (as well) some jars might<br>
&gt;&gt; not be aligned in terms of version. But that&#39;s probably even less of a<br>
&gt;&gt; problem, as I expect distribution users to just put what they get on<br>
&gt;&gt; their classpath.<br>
&gt;&gt;<br>
&gt;&gt; # How it impacts us<br>
&gt;&gt;<br>
&gt;&gt; 1) I&#39;ll move the Lucene Directory project to an different repository;<br>
&gt;&gt; same for the Query related components.<br>
&gt;&gt; I think you should/could consider the same for other components, based<br>
&gt;&gt; on ad-hoc considerations of the trade offs, but I&#39;d expect ultimately<br>
&gt;&gt; to see a more frequent and &quot;core only&quot; release.<br>
&gt;&gt;<br>
&gt;&gt; 2) We&#39;ll have different kinds of releases: the &quot;core only&quot; and the<br>
&gt;&gt; &quot;full releases&quot;.<br>
&gt;&gt; I think we&#39;ll also see components being released independently, but<br>
&gt;&gt; these are either Maven-only or meant for preparation of other<br>
&gt;&gt; components, or preparation for a &quot;full release&quot;.<br>
&gt;&gt;<br>
&gt;&gt; 3) Tests (!)<br>
&gt;&gt; Such a move should in no way relax the regression-safety of<br>
&gt;&gt; infinispan-core: we need to still consider it unacceptable for a core<br>
&gt;&gt; change to break one of the modules moving out of the main tree.<br>
&gt;&gt; Personally I think I&#39;ve pushed many tests about problems found in the<br>
&gt;&gt; &quot;query modules&quot; as unit tests in core, so that should be relatively<br>
&gt;&gt; safe, but it also happened that someone would &quot;tune&quot; these.<br>
&gt;&gt; I realise it&#39;s not practical to expect people to run tests of<br>
&gt;&gt; downstream modules, so we&#39;ll have to automate most of these tasks in<br>
&gt;&gt; CI.<br>
&gt;&gt; Careful on perception: if today there are three levels of defence<br>
&gt;&gt; against a regression (the author, the reviewer and CI all running the<br>
&gt;&gt; suite for each change), in such an organisation you have only one. So<br>
&gt;&gt; ignoring a CI failure as a &quot;probable hiccup&quot; could be much more<br>
&gt;&gt; dangerous than usual.<br>
&gt;&gt;<br>
&gt;&gt; # When<br>
&gt;&gt;<br>
&gt;&gt; Doing this _might_ be a blocker for any Lucene update; so since one<br>
&gt;&gt; just happened I&#39;ll probably have no urgent need for a couple of weeks<br>
&gt;&gt; at least.<br>
&gt;&gt; But we shouldn&#39;t be in a position in which an update could not be<br>
&gt;&gt; possible, so I hope we&#39;ll agree to implement this sooner rather than<br>
&gt;&gt; later, so we won&#39;t have to do it during an emergency.<br>
&gt;&gt;<br>
&gt;&gt; Also while this might sound a bit crazy at first, I see many<br>
&gt;&gt; flexibility benefits which can&#39;t hurt now that the project is getting<br>
&gt;&gt; larger and more complex to release.<br>
&gt;&gt; Not least, having a micro release of &quot;Infinispan essentials&quot; would be<br>
&gt;&gt; very welcome in terms of lowing the initial barrier; this was proposed<br>
&gt;&gt; at various meetings and highly endorsed by many but just never<br>
&gt;&gt; happened.<br>
&gt;&gt;<br>
&gt;&gt; Any comment please? I hope I covered it all, and sorry for that :D<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Sanne<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 1 - <a href="http://lists.jboss.org/pipermail/hibernate-dev/2014-May/011419.html" target="_blank">http://lists.jboss.org/pipermail/hibernate-dev/2014-May/011419.html</a><br>
&gt;&gt; 2 - <a href="http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2014/hibernate-dev.2014-05-13-13.24.log.html" target="_blank">http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2014/hibernate-dev.2014-05-13-13.24.log.html</a><br>

&gt;&gt; _______________________________________________<br>
&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 14 May 2014 14:00:17 +0100<br>
From: Pedro Ruivo &lt;<a href="mailto:pedro@infinispan.org">pedro@infinispan.org</a>&gt;<br>
Subject: Re: [infinispan-dev] Configuration XSD missing, Infinispan<br>
        not parsing v.6 configuration files ?<br>
To: <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
Message-ID: &lt;<a href="mailto:537368E1.6020206@infinispan.org">537368E1.6020206@infinispan.org</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Sanne,<br>
<br>
I have added the 7.0 schemas to <a href="http://infinispan.org/schemas" target="_blank">infinispan.org/schemas</a>.<br>
<br>
About the 6.0 parsing, yes I think it was supposed to be not parsed :P I<br>
think I saw some warning about this change but I can&#39;t find it (so maybe<br>
I was dreaming). So, agree with you. we need an upgrade guide (however,<br>
the documentation already uses the new style)<br>
<br>
Cheers,<br>
Pedro<br>
<br>
On 05/14/2014 01:32 PM, Sanne Grinovero wrote:<br>
&gt; On 14 May 2014 09:58, Pedro Ruivo &lt;<a href="mailto:pedro@infinispan.org">pedro@infinispan.org</a>&gt; wrote:<br>
&gt;&gt; yes, the release process put the schema here:<br>
&gt;&gt; <a href="http://docs.jboss.org/infinispan/schemas/" target="_blank">http://docs.jboss.org/infinispan/schemas/</a><br>
&gt;<br>
&gt; Thanks, I&#39;ll use that. But shouldn&#39;t we have it at the URL I posted too??<br>
&gt;<br>
&gt; And is it really expected that we don&#39;t parse old-style configuration files?<br>
&gt; That&#39;s quite annoying for users. If it&#39;s the intended plan, I&#39;m not<br>
&gt; against it but we&#39;d need some clear warning and also some guidance for<br>
&gt; an upgrade.<br>
&gt; (BTW great job on the documentation updates)<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Sanne<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Pedro<br>
&gt;&gt;<br>
&gt;&gt; On 05/14/2014 07:50 AM, Tristan Tarrant wrote:<br>
&gt;&gt;&gt; Isn&#39;t the deployment of XSDs part of the release process ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Tristan<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 14/05/2014 01:36, Sanne Grinovero wrote:<br>
&gt;&gt;&gt;&gt; The testing configuration files seem to point to this URL:<br>
&gt;&gt;&gt;&gt; <a href="http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" target="_blank">http://www.infinispan.org/schemas/infinispan-config-7.0.xsd</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But I&#39;m getting a 404 when attempting to find it.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It would be very helpfull to make this available, as it seems<br>
&gt;&gt;&gt;&gt; Infinispan 7.0.0.Alpha4 is unable to read the old configuration format<br>
&gt;&gt;&gt;&gt; :-(<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Is that expected?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Message: Unexpected element &#39;{urn:infinispan:config:6.0}infinispan&#39;<br>
&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:100)<br>
&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromStream(TestCacheManagerFactory.java:106)<br>
&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:97)<br>
&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:91)<br>
&gt;&gt;&gt;&gt; at org.infinispan.manager.CacheManagerXmlConfigurationTest.testBatchingIsEnabled(CacheManagerXmlConfigurationTest.java:126)<br>
&gt;&gt;&gt;&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;&gt;&gt;&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;&gt;&gt;&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;&gt;&gt;&gt; at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)<br>
&gt;&gt;&gt;&gt; at org.testng.TestRunner.privateRun(TestRunner.java:767)<br>
&gt;&gt;&gt;&gt; at org.testng.TestRunner.run(TestRunner.java:617)<br>
&gt;&gt;&gt;&gt; at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)<br>
&gt;&gt;&gt;&gt; at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)<br>
&gt;&gt;&gt;&gt; at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)<br>
&gt;&gt;&gt;&gt; at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)<br>
&gt;&gt;&gt;&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>
&gt;&gt;&gt;&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt;&gt;&gt;&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt;&gt;&gt;&gt; at java.lang.Thread.run(Thread.java:744)<br>
&gt;&gt;&gt;&gt; Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,41]<br>
&gt;&gt;&gt;&gt; Message: Unexpected element &#39;{urn:infinispan:config:6.0}infinispan&#39;<br>
&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:137)<br>
&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:121)<br>
&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:108)<br>
&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:95)<br>
&gt;&gt;&gt;&gt; ... 24 more<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 14 May 2014 16:16:12 +0100<br>
From: Sanne Grinovero &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt;<br>
Subject: Re: [infinispan-dev] Configuration XSD missing, Infinispan<br>
        not parsing v.6 configuration files ?<br>
To: infinispan -Dev List &lt;<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAFm4XO2NncDr6z9KSiRH70bNK_gmMMDw2HSD9CM%2B1NJ3Z6p2Hw@mail.gmail.com">CAFm4XO2NncDr6z9KSiRH70bNK_gmMMDw2HSD9CM+1NJ3Z6p2Hw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On 14 May 2014 14:00, Pedro Ruivo &lt;<a href="mailto:pedro@infinispan.org">pedro@infinispan.org</a>&gt; wrote:<br>
&gt; Hi Sanne,<br>
&gt;<br>
&gt; I have added the 7.0 schemas to <a href="http://infinispan.org/schemas" target="_blank">infinispan.org/schemas</a>.<br>
<br>
Thanks!<br>
<br>
&gt;<br>
&gt; About the 6.0 parsing, yes I think it was supposed to be not parsed :P I<br>
&gt; think I saw some warning about this change but I can&#39;t find it (so maybe<br>
&gt; I was dreaming). So, agree with you. we need an upgrade guide (however,<br>
&gt; the documentation already uses the new style)<br>
<br>
Yes the docs are very nice. I guess my problem is just that it&#39;s an<br>
unexpected issue; I somehow guess it from the stacktrace but I don&#39;t<br>
think everyone will be as familiar with the kind of error message.<br>
I&#39;ll open an issue to improve the error; if ever someone will<br>
volunteer to also write a couple of lines on how to migrate, we could<br>
link the page from the error message.<br>
<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Pedro<br>
&gt;<br>
&gt; On 05/14/2014 01:32 PM, Sanne Grinovero wrote:<br>
&gt;&gt; On 14 May 2014 09:58, Pedro Ruivo &lt;<a href="mailto:pedro@infinispan.org">pedro@infinispan.org</a>&gt; wrote:<br>
&gt;&gt;&gt; yes, the release process put the schema here:<br>
&gt;&gt;&gt; <a href="http://docs.jboss.org/infinispan/schemas/" target="_blank">http://docs.jboss.org/infinispan/schemas/</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks, I&#39;ll use that. But shouldn&#39;t we have it at the URL I posted too??<br>
&gt;&gt;<br>
&gt;&gt; And is it really expected that we don&#39;t parse old-style configuration files?<br>
&gt;&gt; That&#39;s quite annoying for users. If it&#39;s the intended plan, I&#39;m not<br>
&gt;&gt; against it but we&#39;d need some clear warning and also some guidance for<br>
&gt;&gt; an upgrade.<br>
&gt;&gt; (BTW great job on the documentation updates)<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Sanne<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Pedro<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 05/14/2014 07:50 AM, Tristan Tarrant wrote:<br>
&gt;&gt;&gt;&gt; Isn&#39;t the deployment of XSDs part of the release process ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Tristan<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 14/05/2014 01:36, Sanne Grinovero wrote:<br>
&gt;&gt;&gt;&gt;&gt; The testing configuration files seem to point to this URL:<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.infinispan.org/schemas/infinispan-config-7.0.xsd" target="_blank">http://www.infinispan.org/schemas/infinispan-config-7.0.xsd</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; But I&#39;m getting a 404 when attempting to find it.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; It would be very helpfull to make this available, as it seems<br>
&gt;&gt;&gt;&gt;&gt; Infinispan 7.0.0.Alpha4 is unable to read the old configuration format<br>
&gt;&gt;&gt;&gt;&gt; :-(<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Is that expected?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Message: Unexpected element &#39;{urn:infinispan:config:6.0}infinispan&#39;<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:100)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromStream(TestCacheManagerFactory.java:106)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:97)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:91)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.manager.CacheManagerXmlConfigurationTest.testBatchingIsEnabled(CacheManagerXmlConfigurationTest.java:126)<br>
&gt;&gt;&gt;&gt;&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;&gt;&gt;&gt;&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;&gt;&gt;&gt;&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;&gt;&gt;&gt;&gt; at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.TestRunner.privateRun(TestRunner.java:767)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.TestRunner.run(TestRunner.java:617)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)<br>
&gt;&gt;&gt;&gt;&gt; at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)<br>
&gt;&gt;&gt;&gt;&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>
&gt;&gt;&gt;&gt;&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt;&gt;&gt;&gt;&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt;&gt;&gt;&gt;&gt; at java.lang.Thread.run(Thread.java:744)<br>
&gt;&gt;&gt;&gt;&gt; Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,41]<br>
&gt;&gt;&gt;&gt;&gt; Message: Unexpected element &#39;{urn:infinispan:config:6.0}infinispan&#39;<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:137)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:121)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:108)<br>
&gt;&gt;&gt;&gt;&gt; at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:95)<br>
&gt;&gt;&gt;&gt;&gt; ... 24 more<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 15 May 2014 09:08:38 -0400<br>
From: William Burns &lt;<a href="mailto:mudokonman@gmail.com">mudokonman@gmail.com</a>&gt;<br>
Subject: Re: [infinispan-dev] Clustered Listener<br>
To: infinispan -Dev List &lt;<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>&gt;<br>
Message-ID:<br>
        &lt;CA+YCuUOsJ4ugVtg=8n=<a href="mailto:eZO0P5%2BsYxWgKC_paeh9vZLH_TY7-rg@mail.gmail.com">eZO0P5+sYxWgKC_paeh9vZLH_TY7-rg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, May 13, 2014 at 9:10 AM, Pierre Sutra &lt;<a href="mailto:pierre.sutra@unine.ch">pierre.sutra@unine.ch</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; As part of the LEADS project, we have been using recently the clustered<br>
&gt; listeners API. In our use case, the application is employing a few<br>
&gt; thousands listeners, constantly installing and un-installing them.<br>
<br>
Are you talking about non clustered listeners?  It seems unlikely you<br>
would need so many cluster listeners.  Cluster listeners should allow<br>
you to only install a small amount of them, usually you would have<br>
only additional ones if you have a Filter applied limiting what<br>
key/values are returned.<br>
<br>
&gt; The<br>
&gt; overall picture is that things work smoothly up to a few hundreds<br>
&gt; listeners, but above the cost is high due to the full replication<br>
&gt; schema. To sidestep this issue, we have added a mechanism that allows<br>
&gt; listening only to a single key.<br>
<br>
Is the KeyFilter or KeyValueFilter not sufficient for this?<br>
<br>
    void addListener(Object listener, KeyFilter&lt;? super K&gt; filter);<br>
<br>
    &lt;C&gt; void addListener(Object listener, KeyValueFilter&lt;? super K, ?<br>
super V&gt; filter, Converter&lt;? super K, ? super V, C&gt; converter);<br>
<br>
Also to note if you are doing any kind of translation of the value to<br>
another value it is recommended to do that via the supplied Converter.<br>
 This can give good performance as the conversion is done on the<br>
target node and not all in 1 node and also you can reduce the payload<br>
if the resultant value has a serialized form that is smaller than the<br>
original value.<br>
<br>
&gt; In such a case, the listener is solely<br>
&gt; installed at the key owners. This greatly helps the scalability of the<br>
&gt; mechanism at the cost of fault-tolerance since, in the current state of<br>
&gt; the implementation, listeners are not forwarded to new data owners.<br>
&gt; Since as a next step [1] it is planned to handle topology change, do you<br>
&gt; plan also to support key (or key range) specific listener ?<br>
<br>
These should be covered with the 2 overloads as I mentioned above.<br>
This should be the most performant way as the filter is replicated to<br>
the node upon installation so a 1 time cost.  But if a key/value pair<br>
doesn&#39;t pass the filter the event is not sent to the node where the<br>
listener is installed.<br>
<br>
&gt; Besides,<br>
&gt; regarding this last point and the current state of the implementation, I<br>
&gt; would have like to know what is the purpose of the re-installation of<br>
&gt; the cluster listener in case of a view change in the addedListener()<br>
&gt; method of the CacheNotifierImpl class.<br>
<br>
This isn&#39;t a re-installation.  This is used to propgate the<br>
RemoteClusterListener to the other nodes, so that when a new event is<br>
generated it can see that and subsequently send it back to the node<br>
where the listener is installed.  There is also a second check in<br>
there in case if a new node joins in the middle.<br>
<br>
&gt; Many thanks in advance.<br>
<br>
No problem, glad you guys are testing out this feature already :)<br>
<br>
&gt;<br>
&gt; Best,<br>
&gt; Pierre Sutra<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="https://github.com/infinispan/infinispan/wiki/Clustered-listeners#handling-topology-changes" target="_blank">https://github.com/infinispan/infinispan/wiki/Clustered-listeners#handling-topology-changes</a><br>

&gt;<br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 15 May 2014 14:29:17 +0100<br>
From: Sanne Grinovero &lt;<a href="mailto:sanne@infinispan.org">sanne@infinispan.org</a>&gt;<br>
Subject: [infinispan-dev] Welcome to Gustavo<br>
To: infinispan -Dev List &lt;<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAFm4XO19aw3Uadiq0L0mimqgqZiOaTyWFr-G_=<a href="mailto:5KSKEd3DEQxw@mail.gmail.com">5KSKEd3DEQxw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi all,<br>
today we finally have Gustavo joining us as a full time engineer on Infinispan.<br>
<br>
He worked with Tristan and myself in Italy before we came to Red Hat,<br>
and was already a Lucene expert back then. He then joined Red Hat as a<br>
consultant but that didn&#39;t last too long: he was too good and<br>
customers wanted him to travel an unreasonable amount.<br>
<br>
So he has been lost for a couple of years, but wisely spent them to<br>
deepen his skills in devops, more of Lucene but now in larger scale<br>
and distributed environments: a bit of JGroups, Infinispan and<br>
Hibernate Search and even some Scala, but also experience with<br>
MongoDB, Hadoop, Elastic Search and Solr so I&#39;m thrilled to have this<br>
great blend of competences now available full time to improve the<br>
Search experience of Infinispan users.<br>
<br>
Welcome!<br>
<br>
He&#39;s gustavonalle on both IRC and GitHub.<br>
<br>
Sanne<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
End of infinispan-dev Digest, Vol 62, Issue 12<br>
**********************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Bilgin Ibryam<br><br>Apache Camel &amp; Apache OFBiz committer<br>
Blog: <a href="http://ofbizian.com" target="_blank">ofbizian.com</a><br>Twitter: <a href="https://twitter.com/bibryam" target="_blank">@bibryam</a><br><br>Author of Instant Apache Camel Message Routing <br><a href="http://www.amazon.com/dp/1783283475" target="_blank">http://www.amazon.com/dp/1783283475</a><br>
<span><font color="#888888"></font></span></div>
</div></div>