You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Setrakyan (JIRA)" <ji...@apache.org> on 2018/07/06 21:29:00 UTC

[jira] [Commented] (IGNITE-8951) Need to validate nodes configuration across cluster and warn on different parameters value

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

Dmitriy Setrakyan commented on IGNITE-8951:
-------------------------------------------

I would argue that we should print out the whole configuration of a node on startup, and then configuration differences as the new nodes join. However, given the number of configuration properties in Ignite, this type of print outs could flood the logs. How about we log this information into a separate log category which is configured to be logged into a separate file by default?

 

Also, we should not forget about the system properties used for configuration as well.

> Need to validate nodes configuration across cluster and warn on different parameters value
> ------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8951
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8951
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Yakov Zhdanov
>            Priority: Major
>
> On node start, node should output in its logs the  list of parameters havnig values different from values on remote node. This should be skipped for parameters that are always different e.g. host name, node ID or IP, however should be an option to include parameters from default ignore list as well.
> Another requrement is that the intended output may be fully supressed by setting sysmem property -DIGNITE_SKIP_CONFIGURATION_CONSISTENCY_CHECK=true
> It seems that the implementation approach should be similar to performance suggestions Ignite currently has.
> The output may be as following
> {noformat}
> Local node has different configuration comparted to remote nodes for paramenters (fix if possible). To disable, set -DIGNITE_SKIP_CONFIGURATION_CONSISTENCY_CHECK=true
>   ^-- rebalanceThreadPoolSize [locNodeVal=4, rmtNodeId=X1X1, rmtNodeVal=8]
>   ^-- commSpi.selectorsCnt [locNodeVal=2, rmtNodeId=Y1Y1, rmtNodeVal=4]
>   ^-- commSpi.selectorsCnt [locNodeVal=2, rmtNodeId=Z1Z1, rmtNodeVal=8]
> {noformat}
> All components should add messages to {{cfgConsistencyRegister}} on startup and then all differences should be output in one step.
> If node aborts startup due to any problem differences collected so far should be output to logs.
> If there are more than 1 value for some config parameter among remote nodes then all distinct options should be output (see {{commSpi.selectorsCnt}} in the example above).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)