@InterfaceAudience.Private @InterfaceStability.Unstable public class RemoteAppChecker extends AppChecker
| Constructor and Description | 
|---|
| RemoteAppChecker() | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<org.apache.hadoop.yarn.api.records.ApplicationId> | getActiveApplications()Returns the list of all active apps at the given time. | 
| boolean | isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id)Returns whether the app is in an active state. | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
addIfService, addService, getServices, removeService, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected void serviceInit(org.apache.hadoop.conf.Configuration conf)
                    throws Exception
serviceInit in class org.apache.hadoop.service.CompositeServiceException@InterfaceAudience.Private
public boolean isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id)
                                                       throws org.apache.hadoop.yarn.exceptions.YarnException
AppCheckerisApplicationActive in class AppCheckerorg.apache.hadoop.yarn.exceptions.YarnException - if there is an error in determining the app state@InterfaceAudience.Private public Collection<org.apache.hadoop.yarn.api.records.ApplicationId> getActiveApplications() throws org.apache.hadoop.yarn.exceptions.YarnException
AppCheckergetActiveApplications in class AppCheckerorg.apache.hadoop.yarn.exceptions.YarnException - if there is an error in obtaining the listCopyright © 2008–2023 Apache Software Foundation. All rights reserved.