First the client submits the program to the ResourceManager (including the Applicationmaster program,ApplicationmasterAfter starting the command, the user program),ResourceManagerApply resources to the resource scheduler once theApplicationmasterThe resources needed,ApplicationmasterLaucher and the corresponding NodeManager contact startApplicationmaster, at the same time toApplicationmasterLivenessmonitor Join the monitor list and start theApplicationmasterThe monitoring,ApplicationmasterAfter starting, toApplicationmasterThe Service register reports its own port number, Ip,track URL, etc., and thenApplicationmasterWill regularly toApplicationmasterService sends Heartbeat, runs allocate,ApplicationmasterThe service willApplicationmasterLivenessmonitor UpdateApplicationmasterThe heartbeat time, when the user program has finished running,ApplicationmasterToApplicationmasterThe service report is complete,ApplicationmasterService NotificationsApplicationmasterLivenessmonitor removed from the monitoring listApplicationmaster, freeing up resources.
Yarn's applicationmaster Management