org.apache.hadoop.mapreduce.v2.app.client
Class MRClientService

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.mapreduce.v2.app.client.MRClientService
All Implemented Interfaces:
ClientService, org.apache.hadoop.yarn.service.Service

public class MRClientService
extends org.apache.hadoop.yarn.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.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
MRClientService(AppContext appContext)
           
 
Method Summary
 InetSocketAddress getBindAddress()
           
 int getHttpPort()
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, init, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRClientService

public MRClientService(AppContext appContext)
Method Detail

start

public void start()
Specified by:
start in interface org.apache.hadoop.yarn.service.Service
Overrides:
start in class org.apache.hadoop.yarn.service.AbstractService

stop

public void stop()
Specified by:
stop in interface org.apache.hadoop.yarn.service.Service
Overrides:
stop in class org.apache.hadoop.yarn.service.AbstractService

getBindAddress

public InetSocketAddress getBindAddress()
Specified by:
getBindAddress in interface ClientService

getHttpPort

public int getHttpPort()
Specified by:
getHttpPort in interface ClientService


Copyright © 2013 Apache Software Foundation. All Rights Reserved.