Details
Description
Due to the AbstractYarnScheduler#getSchedulerNode method return the generic type, so I think don't need explicit type.
I found this issue in CapacityScheduler class. The warning message like:
Casting 'getSchedulerNode( nonKillableContainer.getAllocatedNode())' to 'FiCaSchedulerNode' is redundant
Attachments
Attachments
Issue Links
- is caused by
-
YARN-5047 Refactor nodeUpdate across schedulers
- Resolved