[JBoss JIRA] (ISPN-5033) Lack of EmbeddedCacheManager.undefineConfiguration(String) can cause memory/classloader leaks
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5033?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-5033:
---------------------------------------
I will add this to the ISPN-4919 template support work
> Lack of EmbeddedCacheManager.undefineConfiguration(String) can cause memory/classloader leaks
> ---------------------------------------------------------------------------------------------
>
> Key: ISPN-5033
> URL: https://issues.jboss.org/browse/ISPN-5033
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 7.1.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Tristan Tarrant
>
> EmbeddedCacheManager has defineConfiguration(...) methods for defining a new cache configuration, but has no equivalent "undefine" method. Consequently, once defined, a cache manager will retains a reference to the cache configuration object for the lifetime of the cache manager. While this is normally not a big deal, the configuration objects generated by WildFly contain references to the classloaders of foreign modules.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (ISPN-2432) enhance distributed executor service with submit(Task, Address...)
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-2432?page=com.atlassian.jira.plugin.... ]
Dan Berindei resolved ISPN-2432.
--------------------------------
Fix Version/s: 5.2.0.Final
Resolution: Duplicate Issue
Implemented with ISPN-1974
> enhance distributed executor service with submit(Task, Address...)
> ------------------------------------------------------------------
>
> Key: ISPN-2432
> URL: https://issues.jboss.org/browse/ISPN-2432
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.2.0.Beta2
> Reporter: Mathieu Lachance
> Assignee: Vladimir Blagojevic
> Priority: Minor
> Fix For: 5.2.0.Final
>
>
> as discussed with vladimir on user forum it would be nice to add to the DistributedExecutorService interface (or Advanced interface) a capability to submit a task to a particular address(es).
> my use case was to propagate a cdi event to all other members to the cluster as the local dispatch was already ensured with @Observes.
> basically I wanted to do the following :
> {code:java}
> @Inject Event<MyEventThatIWantToPropagateThatExtendsBaseEvent> myEvent;
> myEvent.fire(new MyEvent());
> @Inject BeanManager beanManager;
> onBaseEvent(@Observes final BaseEvent event){
> List<Address> addresses = getAllOtherNodes();
> DistributedExecutorService.submit(new Callable<Void>({
> public Void run() throws Exception{
> beanManager.fireEvent(event);
> }
> }), addresses);
> }
> onMyEvent(@Observes final MyEvent event){
> System.out.println("this will be executed locally and on all other members of the cluster");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (ISPN-2863) TopologyAwareTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution and SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution randomly fails
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-2863?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-2863:
-------------------------------
Assignee: (was: Vladimir Blagojevic)
> TopologyAwareTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution and SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution randomly fails
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-2863
> URL: https://issues.jboss.org/browse/ISPN-2863
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.2.2.Final, 6.0.1.Final
> Environment: OracleJDK1.7, Solaris
> Reporter: Vitalii Chepeliuk
> Labels: testsuite_stability
> Fix For: 6.0.0.Alpha2
>
>
> Error Message
> Method SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution()[pri:0, instance:org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMapReduceTest@794d1a90] should have thrown an exception of class org.infinispan.CacheException
> Stacktrace
> org.testng.TestException:
> Method SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution()[pri:0, instance:org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMapReduceTest@794d1a90] should have thrown an exception of class org.infinispan.CacheException
> at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1518)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:764)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Standard Output
> [testng-TopologyAwareTwoNodesMapReduceTest] Test testInvokeMapWithReduceExceptionPhaseInRemoteExecution(org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMapReduceTest) failed.
> 2013-02-25 15:13:34,026 ERROR [UnitTestTestNGListener] (testng-TopologyAwareTwoNodesMapReduceTest) Test testInvokeMapWithReduceExceptionPhaseInRemoteExecution(org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMapReduceTest) failed.
> org.testng.TestException:
> Method SimpleTwoNodesMapReduceTest.testInvokeMapWithReduceExceptionPhaseInRemoteExecution()[pri:0, instance:org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMapReduceTest@794d1a90] should have thrown an exception of class org.infinispan.CacheException
> at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1518)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:764)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Test suite progress: tests succeeded: 1680, failed: 1, skipped: 0.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (ISPN-2686) Enhance Mapper API with lazy loaded value
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-2686?page=com.atlassian.jira.plugin.... ]
Dan Berindei reassigned ISPN-2686:
----------------------------------
Assignee: (was: Vladimir Blagojevic)
> Enhance Mapper API with lazy loaded value
> -----------------------------------------
>
> Key: ISPN-2686
> URL: https://issues.jboss.org/browse/ISPN-2686
> Project: Infinispan
> Issue Type: Enhancement
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.2.0.Beta6
> Reporter: Thomas Fromm
> Priority: Minor
>
> In situations where Map/Reduce is used and the value is not (always) needed at the Mapper, the value could be loaded lazy, when the map(..) interface is slightly changed:
> map(Entry<KIn, VIn> entry, Collector<Entry<KIn, VIn>> collector)
> When entry.getValue() is called, the value should be loaded from store or maybe remote node.
> Maybe this change to Entry would be also useful for event api ISPN-1802
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (ISPN-2317) Distributed Callable with automatic filled keys in environment where current node = owner
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-2317?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-2317:
-------------------------------
Assignee: (was: Vladimir Blagojevic)
> Distributed Callable with automatic filled keys in environment where current node = owner
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-2317
> URL: https://issues.jboss.org/browse/ISPN-2317
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.1.7.Final
> Reporter: Thomas Fromm
>
> In a distributed cache I need to process every key one time. My solution is ATM to create a distributed call and on every node walk through the keyset of the cache and process every node, where the current node is the owner.
> This solution works, but is not really nice.
> I'd like to have a specific Distributed callable for this or an flag/option to enable that the keys where the current node is owner are used at setEnvironment(...).
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (ISPN-2923) provides an optimal way to search and retrieve the first non null value
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-2923?page=com.atlassian.jira.plugin.... ]
Dan Berindei reassigned ISPN-2923:
----------------------------------
Assignee: (was: Vladimir Blagojevic)
> provides an optimal way to search and retrieve the first non null value
> -----------------------------------------------------------------------
>
> Key: ISPN-2923
> URL: https://issues.jboss.org/browse/ISPN-2923
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.2.5.Final
> Reporter: Mathieu Lachance
> Priority: Minor
>
> It would be nice if infinispan could provide a way to the common problem of searching and retrieve the first non null value.
> My attempt was to use the map reduce framework, but it would still scan all the keys and value even if the result as been found. Maybe Infinispan could provide a way to "stop" the map-reduce operation on all nodes when asked, ex, when the first non null value has been found ?
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month