java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocolpublic class NMCollectorService
extends org.apache.hadoop.service.CompositeService
implements org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocol
| Constructor | Description |
|---|---|
NMCollectorService(Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.server.api.protocolrecords.GetTimelineCollectorContextResponse |
getTimelineCollectorContext(org.apache.hadoop.yarn.server.api.protocolrecords.GetTimelineCollectorContextRequest request) |
|
org.apache.hadoop.yarn.server.api.protocolrecords.ReportNewCollectorInfoResponse |
reportNewCollectorInfo(org.apache.hadoop.yarn.server.api.protocolrecords.ReportNewCollectorInfoRequest request) |
|
protected void |
serviceStart() |
|
void |
serviceStop() |
addIfService, addService, getServices, removeService, serviceInitclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic NMCollectorService(Context context)
protected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionpublic void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.CompositeServicejava.lang.Exceptionpublic org.apache.hadoop.yarn.server.api.protocolrecords.ReportNewCollectorInfoResponse reportNewCollectorInfo(org.apache.hadoop.yarn.server.api.protocolrecords.ReportNewCollectorInfoRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
reportNewCollectorInfo in interface org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionpublic org.apache.hadoop.yarn.server.api.protocolrecords.GetTimelineCollectorContextResponse getTimelineCollectorContext(org.apache.hadoop.yarn.server.api.protocolrecords.GetTimelineCollectorContextRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnException,
java.io.IOException
getTimelineCollectorContext in interface org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.