You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Steve Loughran (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 17:19:38 UTC
[jira] [Created] (MAPREDUCE-4015) Yarn services to throw a
YarnException on invalid state changs
Yarn services to throw a YarnException on invalid state changs
--------------------------------------------------------------
Key: MAPREDUCE-4015
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4015
Project: Hadoop Map/Reduce
Issue Type: Sub-task
Components: mrv2
Affects Versions: 0.23.1, 0.24.0
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4015) Yarn services to throw a
YarnException on invalid state changs
Posted by "Steve Loughran (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230288#comment-13230288 ]
Steve Loughran commented on MAPREDUCE-4015:
-------------------------------------------
this should be a new exception, say {{YarnIllegalLifecycleException}} that includes a ref to the service at fault and expected state. This will aid in testing -a human readable string can also be generated from this.
> Yarn services to throw a YarnException on invalid state changs
> --------------------------------------------------------------
>
> Key: MAPREDUCE-4015
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4015
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: mrv2
> Affects Versions: 0.23.1, 0.24.0
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira