[JBoss JIRA] (ISPN-5727) Client Listener removal and shutdown problems
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5727?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-5727:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3696
> Client Listener removal and shutdown problems
> ---------------------------------------------
>
> Key: ISPN-5727
> URL: https://issues.jboss.org/browse/ISPN-5727
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.0.0.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 8.0.1.Final, 8.1.0.Final
>
>
> There are a couple of problems related to client listener registration on the client:
> 1. When shutting down a remote cache manager to which client listeners have been added, even if the user does not remove them individually, stopping the remote cache manager should shutdown all client-side client listener threads. This is not the case right now.
> 2. When removing a client listener, the client listener thread needs to be stopped.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5591) Simple local cache without interceptor stack
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-5591?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5591:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.0.1.Final
8.1.0.Alpha1
8.1.0.Final
Resolution: Done
> Simple local cache without interceptor stack
> --------------------------------------------
>
> Key: ISPN-5591
> URL: https://issues.jboss.org/browse/ISPN-5591
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 8.0.0.Alpha2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Fix For: 8.0.1.Final, 8.1.0.Alpha1, 8.1.0.Final
>
>
> Current local cache is rather heavy-weight when compared to pure DataContainer. Under certain conditions (no transactions, statistics, cache-store, not using MR or dist exec) this could be replaced by simpler wrapper on top of DataContainer.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface
by Dan Berindei (JIRA)
Dan Berindei created ISPN-5728:
----------------------------------
Summary: Implement all the default methods in Java 8's Map interface
Key: ISPN-5728
URL: https://issues.jboss.org/browse/ISPN-5728
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.0.0.Final
Reporter: Dan Berindei
Fix For: 8.1.0.Alpha1
Java 8 added many new methods to the {{Map}} interface. Some of them were already present in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}}, {{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}}, {{merge()}}.
We should try to write Infinispan-specific implementations wherever that would improve correctness and/or performance.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5727) Client Listener removal and shutdown problems
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-5727:
--------------------------------------
Summary: Client Listener removal and shutdown problems
Key: ISPN-5727
URL: https://issues.jboss.org/browse/ISPN-5727
Project: Infinispan
Issue Type: Bug
Affects Versions: 8.0.0.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 8.0.1.Final, 8.1.0.Final
There are a couple of problems related to client listener registration on the client:
1. When shutting down a remote cache manager to which client listeners have been added, even if the user does not remove them individually, stopping the remote cache manager should shutdown all client-side client listener threads. This is not the case right now.
2. When removing a client listener, the client listener thread needs to be stopped.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5505) DistTopologyChangeUnderLoadTest randomly fails with IllegalLifecycleStateException
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5505?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-5505:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.0.0.Final
(was: 8.1.0.Final)
Resolution: Done
> DistTopologyChangeUnderLoadTest randomly fails with IllegalLifecycleStateException
> ----------------------------------------------------------------------------------
>
> Key: ISPN-5505
> URL: https://issues.jboss.org/browse/ISPN-5505
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 7.2.1.Final, 8.0.0.Alpha1
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
> Fix For: 8.0.0.Final
>
>
> {code}
> testPutsSucceedWhileTopologyChanges(org.infinispan.client.hotrod.DistTopologyChangeUnderLoadTest) Time elapsed: 0.334 sec <<< FAILURE!
> java.util.concurrent.ExecutionException: org.infinispan.client.hotrod.exceptions.RemoteIllegalLifecycleStateException:Request for message id[1099] returned server error (status=0x88): org.infinispan.IllegalLifecycleStateException: ISPN000324: Default cache is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.infinispan.client.hotrod.DistTopologyChangeUnderLoadTest.testPutsSucceedWhileTopologyChanges(DistTopologyChangeUnderLoadTest.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.client.hotrod.exceptions.RemoteIllegalLifecycleStateException:Request for message id[1099] returned server error (status=0x88): org.infinispan.IllegalLifecycleStateException: ISPN000324: Default cache is in 'STOPPING' state and this is an invocation not belonging to an on-going transaction, so it does not accept new invocations. Either restart it or recreate the cache container.
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:340)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:126)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:112)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:57)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:31)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:20)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:52)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:247)
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:79)
> at org.infinispan.client.hotrod.DistTopologyChangeUnderLoadTest$PutHammer.call(DistTopologyChangeUnderLoadTest.java:80)
> at org.infinispan.client.hotrod.DistTopologyChangeUnderLoadTest$PutHammer.call(DistTopologyChangeUnderLoadTest.java:72)
> at org.infinispan.test.AbstractInfinispanTest$LoggingCallable.call(AbstractInfinispanTest.java:435)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5726) Missing avro serializer when running indexed queries in a clustered server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5726?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5726:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3694
> Missing avro serializer when running indexed queries in a clustered server
> --------------------------------------------------------------------------
>
> Key: ISPN-5726
> URL: https://issues.jboss.org/browse/ISPN-5726
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 8.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Fix For: 8.0.1.Final
>
>
> {code}
> org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node1, see cause for remote stack trace
> org.hibernate.search.exception.SearchException: HSEARCH000275: SerializationProvider service not found on the classpath. You should check that an implementation exists and it's correctly registered as a service. If that's not the case, you can also create a custom implementation or add "org.hibernate:hibernate-search-serialization-avro" on the classpath
> org.hibernate.search.exception.SearchException: HSEARCH000196: No service implementations for service 'interface org.hibernate.search.indexes.serialization.spi.SerializationProvider' can be found
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:336)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:126)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:112)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:38)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:20)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:52)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.clear(RemoteCacheImpl.java:528)
> at org.infinispan.server.test.query.RemoteQueryBaseIT.tearDown(RemoteQueryBaseIT.java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5726) Missing avro serializer when running indexed queries in a clustered server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5726?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5726:
------------------------------------
Status: Open (was: New)
> Missing avro serializer when running indexed queries in a clustered server
> --------------------------------------------------------------------------
>
> Key: ISPN-5726
> URL: https://issues.jboss.org/browse/ISPN-5726
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 8.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Fix For: 8.0.1.Final
>
>
> {code}
> org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node1, see cause for remote stack trace
> org.hibernate.search.exception.SearchException: HSEARCH000275: SerializationProvider service not found on the classpath. You should check that an implementation exists and it's correctly registered as a service. If that's not the case, you can also create a custom implementation or add "org.hibernate:hibernate-search-serialization-avro" on the classpath
> org.hibernate.search.exception.SearchException: HSEARCH000196: No service implementations for service 'interface org.hibernate.search.indexes.serialization.spi.SerializationProvider' can be found
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:336)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:126)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:112)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:38)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:20)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:52)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.clear(RemoteCacheImpl.java:528)
> at org.infinispan.server.test.query.RemoteQueryBaseIT.tearDown(RemoteQueryBaseIT.java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (ISPN-5726) Missing avro serializer when running indexed queries in a clustered server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-5726?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-5726:
------------------------------------
Description:
{code}
org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node1, see cause for remote stack trace
org.hibernate.search.exception.SearchException: HSEARCH000275: SerializationProvider service not found on the classpath. You should check that an implementation exists and it's correctly registered as a service. If that's not the case, you can also create a custom implementation or add "org.hibernate:hibernate-search-serialization-avro" on the classpath
org.hibernate.search.exception.SearchException: HSEARCH000196: No service implementations for service 'interface org.hibernate.search.indexes.serialization.spi.SerializationProvider' can be found
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:336)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:126)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:112)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:38)
at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:20)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:52)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.clear(RemoteCacheImpl.java:528)
at org.infinispan.server.test.query.RemoteQueryBaseIT.tearDown(RemoteQueryBaseIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{code}
> Missing avro serializer when running indexed queries in a clustered server
> --------------------------------------------------------------------------
>
> Key: ISPN-5726
> URL: https://issues.jboss.org/browse/ISPN-5726
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 8.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Fix For: 8.0.1.Final
>
>
> {code}
> org.infinispan.client.hotrod.exceptions.HotRodClientException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node1, see cause for remote stack trace
> org.hibernate.search.exception.SearchException: HSEARCH000275: SerializationProvider service not found on the classpath. You should check that an implementation exists and it's correctly registered as a service. If that's not the case, you can also create a custom implementation or add "org.hibernate:hibernate-search-serialization-avro" on the classpath
> org.hibernate.search.exception.SearchException: HSEARCH000196: No service implementations for service 'interface org.hibernate.search.indexes.serialization.spi.SerializationProvider' can be found
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:336)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:126)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:112)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:38)
> at org.infinispan.client.hotrod.impl.operations.ClearOperation.executeOperation(ClearOperation.java:20)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:52)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.clear(RemoteCacheImpl.java:528)
> at org.infinispan.server.test.query.RemoteQueryBaseIT.tearDown(RemoteQueryBaseIT.java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months