You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/09/11 01:17:33 UTC

[jira] [Updated] (YARN-121) Yarn services to throw a YarnException on invalid state changs

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

Allen Wittenauer updated YARN-121:
----------------------------------
    Fix Version/s:     (was: 3.0.0)

> Yarn services to throw a YarnException on invalid state changs
> --------------------------------------------------------------
>
>                 Key: YARN-121
>                 URL: https://issues.apache.org/jira/browse/YARN-121
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> the {{EnsureCurrentState()}} checks of services throw an {{IllegalStateException}}  if the state is wrong. If this was changed to {{YarnException}}. wrapper services such as CompositeService could relay this direct, instead of wrapping it in their own.
> Time to implement mainly in changing the lifecycle test cases of MAPREDUCE-3939 subtasks.



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