[jira] [Commented] (IGNITE-16325) Add compute task monitoring to keep track of their current status

2022-02-22 Thread Anton Vinogradov (Jira)


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

Anton Vinogradov commented on IGNITE-16325:
---

[~ktkale...@gridgain.com], looks like I missed the size comparison.
This solves the issue. 
Thanks.

> Add compute task monitoring to keep track of their current status
> -
>
> Key: IGNITE-16325
> URL: https://issues.apache.org/jira/browse/IGNITE-16325
> Project: Ignite
>  Issue Type: Improvement
>  Components: compute
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Major
> Fix For: 2.13
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Need to add an internal api to track the current state of compute tasks.
> It is proposed to implement through callbacks when the state of the task 
> changes:
> * Starting a task; 
> * Completion of job mapping;
> * Completion of the task;
> * Sending an attribute.



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


[jira] [Commented] (IGNITE-16325) Add compute task monitoring to keep track of their current status

2022-02-21 Thread Kirill Tkalenko (Jira)


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

Kirill Tkalenko commented on IGNITE-16325:
--

[~av] As far as I can see in *GridCommonAbstractTest#assertEqualsMaps* there is 
a check for Map sizes, can you add a reproducer?

{code:java}
if (exp.size() != act.size())
fail("Maps are not equal:\nExpected:\t" + exp + "\nActual:\t" + 
act);
{code}


> Add compute task monitoring to keep track of their current status
> -
>
> Key: IGNITE-16325
> URL: https://issues.apache.org/jira/browse/IGNITE-16325
> Project: Ignite
>  Issue Type: Improvement
>  Components: compute
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Major
> Fix For: 2.13
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Need to add an internal api to track the current state of compute tasks.
> It is proposed to implement through callbacks when the state of the task 
> changes:
> * Starting a task; 
> * Completion of job mapping;
> * Completion of the task;
> * Sending an attribute.



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


[jira] [Commented] (IGNITE-16325) Add compute task monitoring to keep track of their current status

2022-02-21 Thread Anton Vinogradov (Jira)


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

Anton Vinogradov commented on IGNITE-16325:
---

[~ktkale...@gridgain.com] , [~ibessonov] 

It looks like 
{{org.apache.ignite.testframework.junits.common.GridCommonAbstractTest#assertEqualsMaps}}
 does not guarantee equality check if  {{act}} has same entries as {{exp}} and 
some additional.
Could we fix this?

> Add compute task monitoring to keep track of their current status
> -
>
> Key: IGNITE-16325
> URL: https://issues.apache.org/jira/browse/IGNITE-16325
> Project: Ignite
>  Issue Type: Improvement
>  Components: compute
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Major
> Fix For: 2.13
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Need to add an internal api to track the current state of compute tasks.
> It is proposed to implement through callbacks when the state of the task 
> changes:
> * Starting a task; 
> * Completion of job mapping;
> * Completion of the task;
> * Sending an attribute.



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


[jira] [Commented] (IGNITE-16325) Add compute task monitoring to keep track of their current status

2022-01-19 Thread Ivan Bessonov (Jira)


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

Ivan Bessonov commented on IGNITE-16325:


[~ktkale...@gridgain.com] looks good to me. Thank you for the contribution!

> Add compute task monitoring to keep track of their current status
> -
>
> Key: IGNITE-16325
> URL: https://issues.apache.org/jira/browse/IGNITE-16325
> Project: Ignite
>  Issue Type: Improvement
>  Components: compute
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Major
> Fix For: 2.13
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Need to add an internal api to track the current state of compute tasks.
> It is proposed to implement through callbacks when the state of the task 
> changes:
> * Starting a task; 
> * Completion of job mapping;
> * Completion of the task;
> * Sending an attribute.



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


[jira] [Commented] (IGNITE-16325) Add compute task monitoring to keep track of their current status

2022-01-19 Thread Ignite TC Bot (Jira)


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

Ignite TC Bot commented on IGNITE-16325:


{panel:title=Branch: [pull/9747/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9747/head] Base: [master] : New Tests 
(9)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#8b}Compute (Grid){color} [[tests 
9|https://ci.ignite.apache.org/viewLog.html?buildId=6374220]]
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeJobStatusTest.testNoStatistics - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeJobStatusTest.testFinishedTasks - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeJobStatusTest.tesSuspendedTasks - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeJobStatusTest.testFailedTasks - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeJobStatusTest.tesCancelledTasks - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeGridMonitorTest.changeAttributesTest - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeGridMonitorTest.simpleTest - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeGridMonitorTest.snapshotsTest - PASSED{color}
* {color:#013220}IgniteBinaryObjectsComputeGridTestSuite: 
ComputeGridMonitorTest.failTaskTest - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6374283&buildTypeId=IgniteTests24Java8_RunAll]

> Add compute task monitoring to keep track of their current status
> -
>
> Key: IGNITE-16325
> URL: https://issues.apache.org/jira/browse/IGNITE-16325
> Project: Ignite
>  Issue Type: Improvement
>  Components: compute
>Reporter: Kirill Tkalenko
>Assignee: Kirill Tkalenko
>Priority: Major
> Fix For: 2.13
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Need to add an internal api to track the current state of compute tasks.
> It is proposed to implement through callbacks when the state of the task 
> changes:
> * Starting a task; 
> * Completion of job mapping;
> * Completion of the task;
> * Sending an attribute.



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