[
https://issues.apache.org/jira/browse/IGNITE-4756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078171#comment-16078171
]
Taras Ledkov commented on IGNITE-4756:
--------------------------------------
[~javaller], my comments:
# You mustn't initialize {log} member at the
{{RendezvousAffinityFunctionSimpleBenchmark#beforeTestsStarted}}. It have been
initialized early.
# Then Log4JLogger dependency is not needed. Please remove it from the {{core}}
module.
> Print info about partition distribution to log
> -----------------------------------------------
>
> Key: IGNITE-4756
> URL: https://issues.apache.org/jira/browse/IGNITE-4756
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Reporter: Taras Ledkov
> Assignee: Vadim Opolski
> Priority: Minor
> Labels: newbie
> Fix For: 2.2
>
>
> Summarize discussions:
> Add log message in case partitions distribution is not close to even
> distribution:
> # Add system property IGNITE_PART_DISTRIBUTION_WARN_THRESHOLD with default
> value 0.1 to print warn message only when nodes count differs more then
> threshold;
> # The statistic is calculated and printed only for the local node;
> # Message format is
> {noformat}
> Affinity assignment distribution not even [cache=<cache_name>,
> even=<golden_partitions_count>, distribution=[<partitions_count_primary>,
> <partitions_count_backup0> ..., <partitions_count_backupN>]].
> e.g.:
> Affinity assignment distribution not even [cache=test, even=100 (10%),
> distribution=[100 (10%), 150 (15%), 500 (50%)]].
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)