Class MRClientService
java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.mapreduce.v2.app.client.MRClientService
- All Implemented Interfaces:
Closeable,AutoCloseable,ClientService,org.apache.hadoop.service.Service
public class MRClientService
extends org.apache.hadoop.service.AbstractService
implements ClientService
This module is responsible for talking to the
jobclient (user facing).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.glassfish.jersey.server.ResourceConfigorg.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptResponseforceKillTaskAttempt(org.apache.hadoop.mapreduce.v2.api.protocolrecords.KillTaskAttemptRequest request) intorg.apache.hadoop.yarn.webapp.WebAppprotected voidprotected voidMethods inherited from class org.apache.hadoop.service.AbstractService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.service.Service
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, registerServiceListener, start, stop, unregisterServiceListener, waitForServiceToStop
-
Constructor Details
-
MRClientService
-
-
Method Details
-
serviceStart
- Overrides:
serviceStartin classorg.apache.hadoop.service.AbstractService- Throws:
Exception
-
serviceStop
- Overrides:
serviceStopin classorg.apache.hadoop.service.AbstractService- Throws:
Exception
-
getBindAddress
- Specified by:
getBindAddressin interfaceClientService
-
getHttpPort
public int getHttpPort()- Specified by:
getHttpPortin interfaceClientService
-
forceKillTaskAttempt
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 - Throws:
org.apache.hadoop.yarn.exceptions.YarnExceptionIOException
-
getWebApp
public org.apache.hadoop.yarn.webapp.WebApp getWebApp() -
configure
protected org.glassfish.jersey.server.ResourceConfig configure()
-