public ApplicationMasterService(RMContext rmContext, YarnScheduler scheduler)
     : base(typeof(Org.Apache.Hadoop.Yarn.Server.Resourcemanager.ApplicationMasterService
                   ).FullName)
 {
     this.amLivelinessMonitor = rmContext.GetAMLivelinessMonitor();
     this.rScheduler          = scheduler;
     this.rmContext           = rmContext;
 }