public class NMCollectorService
extends org.apache.hadoop.service.CompositeService
implements org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocol
| Constructor and Description |
|---|
NMCollectorService(Context context) |
| Modifier and Type | Method and 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 Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionpublic void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceExceptionpublic 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,
IOException
reportNewCollectorInfo in interface org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionpublic 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,
IOException
getTimelineCollectorContext in interface org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocolorg.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.