Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
I'm not familiar with scheduler, with first eyes, I thought this func returns the schdulerAppAttempt info corresponding to appAttemptId, but actually it returns the current schdulerAppAttempt.
It seems misled others too, such as
TestWorkPreservingRMRestart.waitForNumContainersToRecover
MockRM.waitForSchedulerAppAttemptAdded
should I rename it to T getCurrentSchedulerApplicationAttempt(ApplicationId applicationid)
or returns null if current attempt id not equals to the request attempt id ?
comment preferred!