[ 
https://issues.apache.org/jira/browse/IGNITE-15416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amelchev Nikita updated IGNITE-15416:
-------------------------------------
    Labels:   (was: cggg)

> False warnings from default Checkpoint and Collision SPIs
> ---------------------------------------------------------
>
>                 Key: IGNITE-15416
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15416
>             Project: Ignite
>          Issue Type: Improvement
>          Components: compute
>    Affects Versions: 2.10, 2.11
>            Reporter: Alexey Kukushkin
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>             Fix For: 2.13
>
>         Attachments: NoopCheckpointSpi.java
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Single-JAR Apache Ignite (no other dependencies but {{ignite-core}}) displays 
> the two below warnings from the Checkpoint and Collision SPIs:
> {noformat}
> WARNING: Checkpoints are disabled (to enable configure any GridCheckpointSpi 
> implementation)
> WARNING: Collision resolution is disabled (all jobs will be activated upon 
> arrival).
> {noformat}
> A "warning" must be something requiring attention from the Ignite users. That 
> is not the case for those messages:
>  * The {{Checkpoints are disabled}} message warns that the [save/load/remove 
> compute job state 
> API|https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/checkpoint/CheckpointSpi.html]
>  is not implemented and would not have any effect.
> Although that is useful information, not all the Ignite apps really use the 
> checkpoint API and that means it is a false alarm for them since they have 
> nothing to do with it.
>  * The {{Collision resolution is disabled}} message says that the default 
> "all jobs will be activated upon arrival" policy is applied. This does not 
> seem like a problem at all since this policy might be OK for most users. 
> Also, not all the apps use Ignite Compute API (although it might be used 
> implicitly). Thus, this is also not a warning since most users have nothing 
> to do with it.
> Enhance Ignite to display a warning only when the user has to act upon it:
>  * Ignite might display the  {{Checkpoints are disabled}} message only when 
> the  [save/load/remove compute job state 
> API|https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/checkpoint/CheckpointSpi.html]
>  is really used like demonstrated in the attached enhanced 
> [^NoopCheckpointSpi.java]
>  * The The {{Collision resolution is disabled}} message is not a warning at 
> all. Consider turning it to an INFO message or removing it and making sure 
> the Ignite documentation clearly explains the default "all jobs will be 
> activated upon arrival" policy.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to