You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/06/01 18:05:00 UTC

[jira] [Commented] (IGNITE-13100) ClassCastException in cache group metrics on client nodes

    [ https://issues.apache.org/jira/browse/IGNITE-13100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121214#comment-17121214 ] 

Ignite TC Bot commented on IGNITE-13100:
----------------------------------------

{panel:title=Branch: [pull/7875/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5354517&amp;buildTypeId=IgniteTests24Java8_RunAll]

> ClassCastException in cache group metrics on client nodes
> ---------------------------------------------------------
>
>                 Key: IGNITE-13100
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13100
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Major
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following exception can be observed when reading cache group metrics on client nodes with persistence-enabled config:
> {code}
> java.lang.ClassCastException: org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager cannot be cast to org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager
> 	at org.apache.ignite.internal.processors.cache.CacheGroupMetricsImpl.database(CacheGroupMetricsImpl.java:506)
> 	at org.apache.ignite.internal.processors.cache.CacheGroupMetricsImpl.lambda$new$0(CacheGroupMetricsImpl.java:103)
> 	at org.apache.ignite.internal.util.lang.GridFunc.lambda$nonThrowableSupplier$3(GridFunc.java:3341)
> 	at org.apache.ignite.internal.processors.metric.impl.LongGauge.value(LongGauge.java:45)
> 	at org.apache.ignite.spi.metric.LongMetric.getAsString(LongMetric.java:29)
> {code}
> The reason is an incomplete check for persistence enabled in {{CacheGroupMetricsImpl}}: we should also check for client nodes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)