[JBoss JIRA] (ISPN-5811) View list of jobs status
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5811:
----------------------------------
Summary: View list of jobs status
Key: ISPN-5811
URL: https://issues.jboss.org/browse/ISPN-5811
Project: Infinispan
Issue Type: Sub-task
Components: Console
Reporter: Pedro Zapata
As an administrator, I want to know the set of server script jobs which have completed. Info should include, start time and end time of the jobs, number of successful execution, number of failed executions.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5810) View to start a job
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5810:
----------------------------------
Summary: View to start a job
Key: ISPN-5810
URL: https://issues.jboss.org/browse/ISPN-5810
Project: Infinispan
Issue Type: Sub-task
Components: Console
Reporter: Pedro Zapata
As an administrator, I want to start a Server script job on my cluster from my Management Console (instead of an application). I want to specify the input data-set (cache), output data-set (cache) and additional parameters.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5809) View of cluster events
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-5809:
----------------------------------
Summary: View of cluster events
Key: ISPN-5809
URL: https://issues.jboss.org/browse/ISPN-5809
Project: Infinispan
Issue Type: Sub-task
Components: Console
Reporter: Pedro Zapata
As an Adminstrator, I want to view all cluster-split and cluster-merge events in the last 7 days. Each event should indicate the following information: time-stamp of event, Merge/Split, the cluster View before Merge/Split, the cluster View after Merge/Split.
Other type of cluster related events need to be logged and shown in this screen.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5803) Custom Key Results in ClassCastException in CacheLoader
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5803?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño reassigned ISPN-5803:
--------------------------------------
Assignee: Galder Zamarreño
> Custom Key Results in ClassCastException in CacheLoader
> -------------------------------------------------------
>
> Key: ISPN-5803
> URL: https://issues.jboss.org/browse/ISPN-5803
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 8.0.1.Final
> Reporter: Dan Siviter
> Assignee: Galder Zamarreño
>
> If a a JCache is created using a read-through {{javax.cache.integration.CacheLoader}} using a custom Serializable key (in this case {{acme.MyCache$MyKey}}) a {{ClassCastException}} is thrown when trying to pass the key value of {{org.infinispan.marshall.core.MarshalledValue}} instead of {{MarshalledValue#get()}} into the {{CacheLoader}} instance.
> {code}
> java.lang.ClassCastException: org.infinispan.marshall.core.MarshalledValue cannot be cast to acme.MyCache$MyKey
> at acme.MyCache$2.load(MyCache.java:1) [my-app-1.0.0-SNAPSHOT.jar:]
> at org.infinispan.jcache.embedded.JCacheLoaderAdapter.loadKey(JCacheLoaderAdapter.java:65) [infinispan-jcache-8.0.1.Final.jar:8.0.1.Final]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5806) Do not start a transaction for single operations
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5806?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-5806:
-----------------------------------
Summary: Do not start a transaction for single operations (was: Do not try to start a transaction for single functional operations)
> Do not start a transaction for single operations
> ------------------------------------------------
>
> Key: ISPN-5806
> URL: https://issues.jboss.org/browse/ISPN-5806
> Project: Infinispan
> Issue Type: Sub-task
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 8.1.0.Alpha2, 8.1.0.Final
>
>
> A local cache with batching enabled produces this:
> {code:java}
> java.lang.IllegalArgumentException: Cannot create a transactional
> context without a valid Transaction instance.
> at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:69)
> at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
> at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56)
> at org.infinispan.lucene.impl.FileListOperations.addFileName(FileListOperations.java:60)
> (<-- experimental uncommitted code here)
> {code}
> For single operations that carry no transaction context, don't try to start a transaction and create a transactional context.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5806) Do not start a transaction for single operations
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5806?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-5806:
-----------------------------------
Forum Reference: http://lists.jboss.org/pipermail/infinispan-dev/2015-October/016248.html
> Do not start a transaction for single operations
> ------------------------------------------------
>
> Key: ISPN-5806
> URL: https://issues.jboss.org/browse/ISPN-5806
> Project: Infinispan
> Issue Type: Sub-task
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 8.1.0.Alpha2, 8.1.0.Final
>
>
> A local cache with batching enabled produces this:
> {code:java}
> java.lang.IllegalArgumentException: Cannot create a transactional
> context without a valid Transaction instance.
> at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:69)
> at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
> at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56)
> at org.infinispan.lucene.impl.FileListOperations.addFileName(FileListOperations.java:60)
> (<-- experimental uncommitted code here)
> {code}
> For single operations that carry no transaction context, don't try to start a transaction and create a transactional context.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5801) Cache with CacheLoader and CreatedExpiryPolicy Invalidates Instantly
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-5801?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño reassigned ISPN-5801:
--------------------------------------
Assignee: Galder Zamarreño
> Cache with CacheLoader and CreatedExpiryPolicy Invalidates Instantly
> --------------------------------------------------------------------
>
> Key: ISPN-5801
> URL: https://issues.jboss.org/browse/ISPN-5801
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 8.0.1.Final
> Reporter: Dan Siviter
> Assignee: Galder Zamarreño
>
> When using a {{javax.cache.expiry.CreatedExpiryPolicy}} and a {{javax.cache.integration.CacheLoader}} the value generated for the {{org.infinispan.jcache.embedded/JCacheInternalMetadata#expiry}} is not relative to {{TimeService#wallClockTime}}. It therefore invalidates the entry instantly.
> I believe the problem is in {{org.infinispan.jcache.embedded.JCacheLoaderAdapter\[line=48\]}} where {{org.infinispan.jcache.Expiration#getExpiry(...)}} doesn't calculate the relative value so {{org.infinispan.jcache.embedded.JCacheInternalMetadata#isExpired}} always returns {{true}}.
> Unfortunately, work doesn't allow me to upload code so I can't submit an example.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months
[JBoss JIRA] (ISPN-5806) Do not try to start a transaction for single functional operations
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-5806:
--------------------------------------
Summary: Do not try to start a transaction for single functional operations
Key: ISPN-5806
URL: https://issues.jboss.org/browse/ISPN-5806
Project: Infinispan
Issue Type: Sub-task
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 8.1.0.Alpha2, 8.1.0.Final
A local cache with batching enabled produces this:
{code:java}
java.lang.IllegalArgumentException: Cannot create a transactional
context without a valid Transaction instance.
at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:69)
at org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56)
at org.infinispan.lucene.impl.FileListOperations.addFileName(FileListOperations.java:60)
(<-- experimental uncommitted code here)
{code}
For single operations that carry no transaction context, don't try to start a transaction and create a transactional context.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 3 months