org.apache.hadoop.yarn.api.impl.pb.client
Class AMRMProtocolPBClientImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.impl.pb.client.AMRMProtocolPBClientImpl
All Implemented Interfaces:
org.apache.hadoop.yarn.api.AMRMProtocol

public class AMRMProtocolPBClientImpl
extends Object
implements org.apache.hadoop.yarn.api.AMRMProtocol


Constructor Summary
AMRMProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request)
           
 void close()
           
 org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse finishApplicationMaster(org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse registerApplicationMaster(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMRMProtocolPBClientImpl

public AMRMProtocolPBClientImpl(long clientVersion,
                                InetSocketAddress addr,
                                org.apache.hadoop.conf.Configuration conf)
                         throws IOException
Throws:
IOException
Method Detail

close

public void close()

allocate

public org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request)
                                                                     throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
allocate in interface org.apache.hadoop.yarn.api.AMRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

finishApplicationMaster

public org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse finishApplicationMaster(org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request)
                                                                                                   throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
finishApplicationMaster in interface org.apache.hadoop.yarn.api.AMRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

registerApplicationMaster

public org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse registerApplicationMaster(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request)
                                                                                                       throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
registerApplicationMaster in interface org.apache.hadoop.yarn.api.AMRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.