[jira] [Updated] (YARN-3826) Race condition in ResourceTrackerService leads to wrong diagnostics messages

2015-06-25 Thread Devaraj K (JIRA)

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

Devaraj K updated YARN-3826:

Hadoop Flags: Reviewed

> Race condition in ResourceTrackerService leads to wrong diagnostics messages
> 
>
> Key: YARN-3826
> URL: https://issues.apache.org/jira/browse/YARN-3826
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: resourcemanager
>Affects Versions: 2.7.0
>Reporter: Chengbing Liu
>Assignee: Chengbing Liu
> Fix For: 2.8.0
>
> Attachments: YARN-3826.01.patch, YARN-3826.02.patch, 
> YARN-3826.03.patch
>
>
> Since we are calling {{setDiagnosticsMessage}} in {{nodeHeartbeat}}, which 
> can be called concurrently, the static {{resync}} and {{shutdown}} may have 
> wrong diagnostics messages in some cases.
> On the other side, these static members can hardly save any memory, since the 
> normal heartbeat responses are created for each heartbeat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3826) Race condition in ResourceTrackerService leads to wrong diagnostics messages

2015-06-25 Thread Devaraj K (JIRA)

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

Devaraj K updated YARN-3826:


The timed out test is not related to the patch.

+1, will commit it shortly.

> Race condition in ResourceTrackerService leads to wrong diagnostics messages
> 
>
> Key: YARN-3826
> URL: https://issues.apache.org/jira/browse/YARN-3826
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: resourcemanager
>Affects Versions: 2.7.0
>Reporter: Chengbing Liu
>Assignee: Chengbing Liu
> Attachments: YARN-3826.01.patch, YARN-3826.02.patch, 
> YARN-3826.03.patch
>
>
> Since we are calling {{setDiagnosticsMessage}} in {{nodeHeartbeat}}, which 
> can be called concurrently, the static {{resync}} and {{shutdown}} may have 
> wrong diagnostics messages in some cases.
> On the other side, these static members can hardly save any memory, since the 
> normal heartbeat responses are created for each heartbeat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (YARN-3826) Race condition in ResourceTrackerService leads to wrong diagnostics messages

2015-06-25 Thread Devaraj K (JIRA)

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

Devaraj K updated YARN-3826:

Summary: Race condition in ResourceTrackerService leads to wrong 
diagnostics messages  (was: Race condition in ResourceTrackerService: potential 
wrong diagnostics messages)

> Race condition in ResourceTrackerService leads to wrong diagnostics messages
> 
>
> Key: YARN-3826
> URL: https://issues.apache.org/jira/browse/YARN-3826
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: resourcemanager
>Affects Versions: 2.7.0
>Reporter: Chengbing Liu
>Assignee: Chengbing Liu
> Attachments: YARN-3826.01.patch, YARN-3826.02.patch, 
> YARN-3826.03.patch
>
>
> Since we are calling {{setDiagnosticsMessage}} in {{nodeHeartbeat}}, which 
> can be called concurrently, the static {{resync}} and {{shutdown}} may have 
> wrong diagnostics messages in some cases.
> On the other side, these static members can hardly save any memory, since the 
> normal heartbeat responses are created for each heartbeat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)