You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/30 15:29:25 UTC

[jira] [Commented] (IGNITE-2668) MBean creation fails if cache name contains ':' character

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

ASF GitHub Bot commented on IGNITE-2668:
----------------------------------------

GitHub user vldpyatkov opened a pull request:

    https://github.com/apache/ignite/pull/588

    IGNITE-2668

    MBean creation fails if cache name contains ':' character
    Write attribute, which contains cache name, in quote

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vldpyatkov/ignite ignite-2668

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/588.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #588
    
----
commit 05d41a980b4d4632be318e5cfa5a0bf8820aaadd
Author: vdpyatkov <vp...@gridgain.com>
Date:   2016-03-30T13:23:00Z

    IGNITE-2668
    MBean creation fails if cache name contains ':' character
    Write attribute, which contains cache name, in quote

----


> MBean creation fails if cache name contains ':' character
> ---------------------------------------------------------
>
>                 Key: IGNITE-2668
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2668
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>            Reporter: Valentin Kulichenko
>            Assignee: Vladislav Pyatkov
>              Labels: community
>             Fix For: 1.6
>
>
> If someone tries to start a cache with ':' in the name, it will fail with the exception:
> {noformat}
> 2016-02-16T17:53:56.570+0000 [exchange-worker-#83%SensorIQ%] ERROR GridDhtPartitionsExchangeFuture [] - Failed to reinitialize local partitions 
> (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], nodeId=1afff13b, evt=DISCOVE
> RY_CUSTOM_EVT]
> org.apache.ignite.IgniteCheckedException: Failed to register MBean for component: org.apache.ignite.internal.processors.cache.CacheMetricsMXBean
> Impl@4a9488fe
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.registerMbean(GridCacheProcessor.java:3313) ~[ignite-core-1.5.6.jar!/:
> 1.5.6]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1482) ~[ignite-core-1.5.6.jar!/:1.
> 5.6]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1629) ~[ignite-core-1.5.6.ja
> r!/:1.5.6]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCachesStart(GridCacheProcessor.java:1554) ~[ignite-core-1.5.6.j
> ar!/:1.5.6]
>         at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.startCaches(GridDhtPartitionsEx
> changeFuture.java:960) ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeF
> uture.java:523) ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.j
> ava:1297) [ignite-core-1.5.6.jar!/:1.5.6]
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) [ignite-core-1.5.6.jar!/:1.5.6]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31]
> Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
>         at javax.management.ObjectName.construct(ObjectName.java:618) ~[na:1.8.0_31]
>         at javax.management.ObjectName.<init>(ObjectName.java:1382) ~[na:1.8.0_31]
>         at org.apache.ignite.internal.util.IgniteUtils.makeCacheMBeanName(IgniteUtils.java:4280) ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at org.apache.ignite.internal.util.IgniteUtils.registerCacheMBean(IgniteUtils.java:4356) ~[ignite-core-1.5.6.jar!/:1.5.6]
>         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.registerMbean(GridCacheProcessor.java:3309) ~[ignite-core-1.5.6.jar!/:1.5.6]
>         ... 8 common frames omitted
> {noformat}
> User list thread: http://apache-ignite-users.70518.x6.nabble.com/Exception-on-cluster-start-after-upgrading-to-GridGain-Community-Edition-td3035.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)