You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/11/18 12:27:00 UTC

[jira] [Commented] (IGNITE-13715) ComputeScheduleExample doesn't work

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

Ignite TC Bot commented on IGNITE-13715:
----------------------------------------

{panel:title=Branch: [pull/8470/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8470/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5741229&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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
>             Fix For: 2.10
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{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)