[
https://issues.apache.org/jira/browse/IGNITE-15735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833120#comment-17833120
]
Evgeny Stanilovsky commented on IGNITE-15735:
---------------------------------------------
And seems you need a test - tests that (seems simple configuration will be
enough here) IgniteConfiguration.toString() not obtain java Object.toString()
representation, the easiest (but not overall correct) way is to check regexp
like ".*@\d+"
> 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)