You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Potemkin (Jira)" <ji...@apache.org> on 2024/03/19 14:20:00 UTC

[jira] [Commented] (IGNITE-15735) Improvement in IgniteConfiguration string representation.

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

Anton Potemkin commented on IGNITE-15735:
-----------------------------------------

[~zstan] Is this ticket relevant? I want to take it.

I checked the description and IgniteConfiguration class. I would add @GridToStringExclude to mbeanSrv and encryptionSpi(it contains sensitive data), also i want to check different combination of fields and check theirs toString methods. What did you mean about 'fileIOFactory'?

> 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
>            Priority: Major
>              Labels: newbie
>
> 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)