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, serviceInit
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public NMCollectorService(Context context)
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.CompositeService
Exception
public void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.CompositeService
Exception
public 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.CollectorNodemanagerProtocol
org.apache.hadoop.yarn.exceptions.YarnException
IOException
public 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.CollectorNodemanagerProtocol
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.