You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2020/11/17 21:27:00 UTC
[jira] [Updated] (IGNITE-13715) ComputeScheduleExample doesn't work
[ https://issues.apache.org/jira/browse/IGNITE-13715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin updated IGNITE-13715:
-----------------------------------------
Ignite Flags: (was: Docs Required,Release Notes Required)
> ComputeScheduleExample doesn't work
> -----------------------------------
>
> Key: IGNITE-13715
> URL: https://issues.apache.org/jira/browse/IGNITE-13715
> Project: Ignite
> Issue Type: Bug
> Components: examples
> Reporter: Vyacheslav Koptilin
> Assignee: Vyacheslav Koptilin
> Priority: Minor
>
> {{ComputeScheduleExample}} does not work due to invalid CRON expression.
> Steps to reproduce:
> # Start {{ExampleNodeStartup}}
> # Run {{ComputeScheduleExample}}
> Node output:
> {noformat}
> [00:08:02] Ignite node started OK (id=821d7a9c)
> [00:08:02] Topology snapshot [ver=1, locNode=821d7a9c, servers=1, clients=0, state=ACTIVE, CPUs=8, offheap=3.2GB, heap=3.5GB]
> [00:08:02] ^-- Baseline [id=0, size=1, online=1, offline=0]
> [00:08:32] Joining node doesn't have stored group keys [node=fb94c1cf-1fa4-4049-880d-19fa4dd590ce]
> [00:08:32] Topology snapshot [ver=2, locNode=821d7a9c, servers=2, clients=0, state=ACTIVE, CPUs=8, offheap=6.4GB, heap=7.1GB]
> [00:08:32] ^-- Baseline [id=0, size=2, online=2, offline=0]
> [00:08:33] Topology snapshot [ver=3, locNode=821d7a9c, servers=1, clients=0, state=ACTIVE, CPUs=8, offheap=3.2GB, heap=3.5GB]
> [00:08:33] ^-- Baseline [id=0, size=1, online=1, offline=0]
> {noformat}
> {noformat}
> [00:08:33] Ignite node started OK (id=fb94c1cf)
> [00:08:33] Topology snapshot [ver=2, locNode=fb94c1cf, servers=2, clients=0, state=ACTIVE, CPUs=8, offheap=6.4GB, heap=7.1GB]
> [00:08:33] ^-- Baseline [id=0, size=2, online=2, offline=0]
> Compute schedule example started.
> >>> Schedule future is done and has been unscheduled.
> >>> Check all nodes for hello message output.
> [00:08:33] Ignite node stopped OK [uptime=00:00:00.085]
> Process finished with exit code 0
> {noformat}
> The log of the first node does not contain the required message.
> Also, there is no error message in the example's output.
> The root cause of the issue is the invalid CRON expression that is used by the example: "{9, 5, 3} * * * * *"
> In accordance with the doc https://apacheignite.readme.io/docs/cron-based-scheduling#syntax-extension it should be the following: "{5, 3} * * * * *"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)