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

        

Reply via email to