Hello Abhishek,

You don't need to register JmxSystemViewExporterSpi explicitly via
configuration. This exporter implicitly enabled/registered on the startup
Ignite node. That is the reason why you are getting: IgniteCheckedException:
Duplicate SPI name (need to explicitly configure 'setName()' property):
JmxSystemViewExporterSpi

> SEVERE: JMX scrape failed: java.lang.IllegalArgumentException: Not an
Attribute: javax.management.openmbean.TabularDataSupport Could you please
provide a full stack trace?

Thanks,
S.

ср, 15 мар. 2023 г. в 08:58, Abhishek Ubhe <abhishekubhe0...@gmail.com>:

> Hello,
>
> Getting below error while starting ignite node. Please check and suggest
> any changes required.
>
> *After upgrading JMX to 18 I'm getting above error while starting ignite 
> node.*
>
> SEVERE: JMX scrape failed: java.lang.IllegalArgumentException: Not an 
> Attribute: javax.management.openmbean.TabularDataSupport
>
>
> *Then by referring internet I make changes as below *
>
> SystemViewExporterSpi systemViewExporter = new JmxSystemViewExporterSpi();
>               systemViewExporter.setExportFilter(i -> false);
>               MetricExporterSpi metricExporter = new JmxMetricExporterSpi();
>               metricExporter.setExportFilter(i -> false);
>
>
> new IgniteConfiguration().setSystemViewExporterSpi(systemViewExporter)
>                               .setMetricExporterSpi(metricExporter)
>
>
>
> *Now I am getting below error :*
>
> 06:24:27.570 ERROR org.apache.ignite.internal.IgniteKernal - Failed to start 
> manager: GridManagerAdapter [enabled=true, 
> name=o.a.i.i.managers.systemview.GridSystemViewManager]
> org.apache.ignite.IgniteCheckedException: Duplicate SPI name (need to 
> explicitly configure 'setName()' property): JmxSystemViewExporterSpi
>       at 
> org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:268)
>  ~[ignite-core-2.14.0.jar:2.14.0]
>       at 
> org.apache.ignite.internal.managers.systemview.GridSystemViewManager.start(GridSystemViewManager.java:71)
>  ~[ignite-core-2.14.0.jar:2.14.0]
>       at 
> org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1766) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:998) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1757)
>  ~[ignite-core-2.14.0.jar:2.14.0]
>       at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1679)
>  ~[ignite-core-2.14.0.jar:2.14.0]
>       at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1121) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:657) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:579) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at org.apache.ignite.Ignition.start(Ignition.java:328) 
> ~[ignite-core-2.14.0.jar:2.14.0]
>       at 
> com.clouds.ignite.server.startup.IgniteClusterNode.ignite(IgniteClusterNode.java:51)
>  ~[clouds-ignite-core-2.4.94_jmx.jar:?]
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:1.8.0_171]
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_171]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_171]
>       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
>       at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
>  ~[spring-beans-5.2.2.RELEASE.jar:5.2.2.RELEASE]
>
>
> --
> *Regards,*
> *Abhishek Ubhe*
>
>

Reply via email to