java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service@Private @Unstable public class RemoteAppChecker extends AppChecker
| Constructor | Description |
|---|---|
RemoteAppChecker() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.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 java.lang.Exception
serviceInit in class org.apache.hadoop.service.CompositeServicejava.lang.Exception@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@Private
public java.util.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–2025 Apache Software Foundation. All rights reserved.