[
https://issues.apache.org/jira/browse/IGNITE-15735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832575#comment-17832575
]
Anton Potemkin commented on IGNITE-15735:
-----------------------------------------
[~zstan], Please review my changes.
I decided add GridToStringExclude to mbeanSrv but, printed type of MBeanServer.
I noticed that there are several *Spi arrays fields like metricExporterSpi or
CacheConfiguration[] cacheCfg, which aren't printed by default configuration in
Grid ToStringBuilder. Was this done on purpose or should I add them too but
start a discussion on the dev list first?
> Improvement in IgniteConfiguration string representation.
> ---------------------------------------------------------
>
> Key: IGNITE-15735
> URL: https://issues.apache.org/jira/browse/IGNITE-15735
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Affects Versions: 2.11
> Reporter: Evgeny Stanilovsky
> Assignee: Anton Potemkin
> Priority: Major
> Labels: newbie
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Ignite log contains uninformative: mbeanSrv, encryptionSpi and fileIOFactory,
> it`s necessary to Override toString or annotate (probably only mbeanSrv) with
> @GridToStringExclude. All these changes need to be discussed in dev-list.
> {noformat}
> IgniteConfiguration [igniteInstanceName=persistent-0, pubPoolSize=32,
> svcPoolSize=32, callbackPoolSize=32, stripedPoolSize=32, sysPoolSize=32,
> mgmtPoolSize=4, dataStreamerPoolSize=32, utilityCachePoolSize=32,
> utilityCacheKeepAliveTime=60000, p2pPoolSize=2, qryPoolSize=32,
> buildIdxPoolSize=4,
> igniteHome=/opt/buildagent/work/bde9b45ddb020b34/incubator-ignite,
> igniteWorkDir=/opt/buildagent/work/bde9b45ddb020b34/incubator-ignite/work,
> mbeanSrv=com.sun.jmx.mbeanserver.JmxMBeanServer@248cbecf, ..
> encryptionSpi=org.apache.ignite.spi.encryption.noop.NoopEncryptionSpi@2400bbab
> ...
> fileIOFactory=org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIOFactory@78bd06ef
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)