public class MRClientService extends org.apache.hadoop.service.AbstractService implements ClientService
Constructor and Description |
---|
MRClientService(AppContext appContext) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptResponse |
forceKillTaskAttempt(org.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptRequest request) |
InetSocketAddress |
getBindAddress() |
int |
getHttpPort() |
org.apache.hadoop.yarn.webapp.WebApp |
getWebApp() |
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public MRClientService(AppContext appContext)
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.AbstractService
Exception
public InetSocketAddress getBindAddress()
getBindAddress
in interface ClientService
public int getHttpPort()
getHttpPort
in interface ClientService
public org.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptResponse forceKillTaskAttempt(org.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnException
IOException
public org.apache.hadoop.yarn.webapp.WebApp getWebApp()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.