Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is superceded by
-
YARN-530 Define Service model strictly, implement AbstractService for robust subclassing, migrate yarn-common services
- Closed