The TestAMRestart#testAMRestartWithExistingContainers does a cast to CapacityScheduler in a couple of places
((CapacityScheduler) rm1.getResourceScheduler())
If run with FairScheduler as default scheduler the test throws
java.lang.ClassCastException
.
- duplicates
-
YARN-2204 TestAMRestart#testAMRestartWithExistingContainers assumes CapacityScheduler
-
- Closed
-