Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Currently getPendingResourceRequestForAttempt is present in AbstractYarnScheduler.
But in AppInfo, we are calling this method by typecasting it to AbstractYarnScheduler, which is incorrect.
Because if a custom scheduler is to be added, it will implement YarnScheduler, not AbstractYarnScheduler.
This method should be moved to YarnScheduler or it should have a guarded check like in other places (RMAppAttemptBlock.getBlackListedNodes)
Attachments
Attachments
Issue Links
- is related to
-
YARN-3986 getTransferredContainers in AbstractYarnScheduler should be present in YarnScheduler interface instead
-
- Resolved
-