java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.ServiceRemoteAppChecker@Private
@Evolving
public abstract class AppChecker
extends org.apache.hadoop.service.CompositeService
| Constructor | Description |
|---|---|
AppChecker() |
|
AppChecker(java.lang.String name) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.Collection<org.apache.hadoop.yarn.api.records.ApplicationId> |
getActiveApplications() |
Returns the list of all active apps at the given time.
|
abstract boolean |
isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id) |
Returns whether the app is in an active state.
|
addIfService, addService, getServices, removeService, serviceInit, serviceStart, serviceStopclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic AppChecker()
public AppChecker(java.lang.String name)
@Private
public abstract boolean isApplicationActive(org.apache.hadoop.yarn.api.records.ApplicationId id)
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - if there is an error in determining the app state@Private
public abstract java.util.Collection<org.apache.hadoop.yarn.api.records.ApplicationId> getActiveApplications()
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - if there is an error in obtaining the listCopyright © 2008–2025 Apache Software Foundation. All rights reserved.