[JBoss JIRA] (ISPN-6085) Avoid using sun.misc.VM
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6085?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6085:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Beta1
8.2.0.Final
8.1.1.Final
Resolution: Done
> Avoid using sun.misc.VM
> -----------------------
>
> Key: ISPN-6085
> URL: https://issues.jboss.org/browse/ISPN-6085
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.1.0.Final
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 8.2.0.Beta1, 8.2.0.Final, 8.1.1.Final
>
>
> The function {{org.infinispan.container.entries.PrimitiveEntrySizeCalculator.IntegerCacheConstraints.calculateMaxIntCache()}} is using {{sun.misc.VM}}.
> This class is being moved and "idden" in Java 9:
> - http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-January/037853....
> Could we try avoiding the need for this, or explore alternatives?
> One could use reflection to see if the class is available without loading it explicitly, but that still needs some sensible fallback for the case in which the class isn't available.
> Even if this looks like a small detail, this completely blocks the possibility to test Infinispan on Java 9.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ISPN-6076) Errors when the same column is both a gouping column and an aggregation column
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6076?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6076:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Errors when the same column is both a gouping column and an aggregation column
> ------------------------------------------------------------------------------
>
> Key: ISPN-6076
> URL: https://issues.jboss.org/browse/ISPN-6076
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.1.0.Final, 8.0.2.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.2.0.Beta1, 8.2.0.Final, 8.1.1.Final
>
>
> This should not be allowed.
> {code}
> public void testGroupingAndAggregationOnSameField() {
> QueryFactory qf = getQueryFactory();
> Query q = qf.from(getModelFactory().getUserImplClass())
> .select(Expression.count("surname"), Expression.sum("addresses.number"))
> .groupBy("surname")
> .build();
> List<Object[]> list = q.list(); // throws ClassCastException
> }
> {code}
> {code}
> java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.objectfilter.impl.aggregation.Counter
> at org.infinispan.objectfilter.impl.aggregation.CountAccumulator.merge(CountAccumulator.java:24)
> at org.infinispan.objectfilter.impl.aggregation.FieldAccumulator.merge(FieldAccumulator.java:42)
> at org.infinispan.objectfilter.impl.aggregation.Grouper.addRow(Grouper.java:133)
> at org.infinispan.query.dsl.embedded.impl.AggregatingQuery.getBaseIterator(AggregatingQuery.java:52)
> at org.infinispan.query.dsl.embedded.impl.HybridQuery$1.<init>(HybridQuery.java:47)
> at org.infinispan.query.dsl.embedded.impl.HybridQuery.getIterator(HybridQuery.java:45)
> at org.infinispan.query.dsl.embedded.impl.BaseEmbeddedQuery.listInternal(BaseEmbeddedQuery.java:65)
> at org.infinispan.query.dsl.embedded.impl.BaseEmbeddedQuery.list(BaseEmbeddedQuery.java:57)
> at org.infinispan.query.dsl.embedded.impl.DelegatingQuery.list(DelegatingQuery.java:45)
> at org.infinispan.query.dsl.embedded.QueryDslConditionsTest.testEmbeddedSum(QueryDslConditionsTest.java:1959)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ISPN-6088) Management console - performance and caching activities are not displayed in node view
by Roman Macor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6088?page=com.atlassian.jira.plugin.... ]
Roman Macor updated ISPN-6088:
------------------------------
Attachment: Screenshot-ISPN-6088.png
Hi [~vblagojevic] I'm attaching screenshot, but I'm not sure I can add more exact steps to reproduce it.
I'm only starting server by running domain.sh script and then navigating to node page.
> Management console - performance and caching activities are not displayed in node view
> --------------------------------------------------------------------------------------
>
> Key: ISPN-6088
> URL: https://issues.jboss.org/browse/ISPN-6088
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Attachments: Screen Shot 2016-01-21 at 10.52.47 AM.png, Screenshot-ISPN-6088.png
>
>
> page: clusters tab -> select server group -> select node
> Values for performance and caching activities are not displayed.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ISPN-6081) Creating new cache with name that already exists leads to no response in the UI
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6081?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6081:
-------------------------------------------
[~mgencur] Yes, this one is confirmed! Thank you!
> Creating new cache with name that already exists leads to no response in the UI
> -------------------------------------------------------------------------------
>
> Key: ISPN-6081
> URL: https://issues.jboss.org/browse/ISPN-6081
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.1.0.Final
> Reporter: Martin Gencur
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> Steps to reproduce:
> Cache container detail page -> Add Cache -> fill in cache name and base configuration -> click Next -> click Create -> click Create on the following screen again
> Result: There's an error in the server log but the console does not show any warning. The modal dialog stays open and users don't not know what happened unless they look at server logs.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ISPN-6075) Created cache is immediately available
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6075?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6075:
-------------------------------------------
[~mgencur] Enable/Disable is related to attaching remote end-points to cache - not enabling/disabling cache itself. Each cache when created is immediately available. Your point about Enable/Disable stands :-)
> Created cache is immediately available
> --------------------------------------
>
> Key: ISPN-6075
> URL: https://issues.jboss.org/browse/ISPN-6075
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.1.0.Final
> Reporter: Martin Gencur
> Assignee: Vladimir Blagojevic
>
> Steps to reproduce:
> 1) Add new cache
> 2) Go to the cache detail page
> Issues:
> 1) The label in top-left corner says "Available" while it should be either Unavailable or Disabled at this point (probably it is because this page still shows the satus of the currentCluster and not the cache itself)
> 2) The actions on the right side include both "Disable" and "Enable" and both of them are clickable. Only "Enable" option should be available at this point.
> 3) I'm able to create a RemoteCache and put/get entries - no exception thrown
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months