Valentin Kulichenko created IGNITE-2668:
-------------------------------------------
Summary: 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
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)