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

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

public class ClientRMProtocolPBClientImpl
extends Object
implements org.apache.hadoop.yarn.api.ClientRMProtocol


Constructor Summary
ClientRMProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 org.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse forceKillApplication(org.apache.hadoop.yarn.api.protocolrecords.KillApplicationRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetAllApplicationsResponse getAllApplications(org.apache.hadoop.yarn.api.protocolrecords.GetAllApplicationsRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportResponse getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsResponse getClusterMetrics(org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesResponse getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenResponse getDelegationToken(org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse getNewApplication(org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoResponse getQueueInfo(org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.GetQueueUserAclsInfoResponse getQueueUserAcls(org.apache.hadoop.yarn.api.protocolrecords.GetQueueUserAclsInfoRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationResponse submitApplication(org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientRMProtocolPBClientImpl

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

forceKillApplication

public org.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse forceKillApplication(org.apache.hadoop.yarn.api.protocolrecords.KillApplicationRequest request)
                                                                                        throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
forceKillApplication in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getApplicationReport

public org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportResponse getApplicationReport(org.apache.hadoop.yarn.api.protocolrecords.GetApplicationReportRequest request)
                                                                                             throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getApplicationReport in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getClusterMetrics

public org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsResponse getClusterMetrics(org.apache.hadoop.yarn.api.protocolrecords.GetClusterMetricsRequest request)
                                                                                       throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getClusterMetrics in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getNewApplication

public org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse getNewApplication(org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationRequest request)
                                                                                       throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getNewApplication in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

submitApplication

public org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationResponse submitApplication(org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest request)
                                                                                       throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
submitApplication in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getAllApplications

public org.apache.hadoop.yarn.api.protocolrecords.GetAllApplicationsResponse getAllApplications(org.apache.hadoop.yarn.api.protocolrecords.GetAllApplicationsRequest request)
                                                                                         throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getAllApplications in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getClusterNodes

public org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesResponse getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest request)
                                                                                   throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getClusterNodes in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getQueueInfo

public org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoResponse getQueueInfo(org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoRequest request)
                                                                             throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getQueueInfo in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getQueueUserAcls

public org.apache.hadoop.yarn.api.protocolrecords.GetQueueUserAclsInfoResponse getQueueUserAcls(org.apache.hadoop.yarn.api.protocolrecords.GetQueueUserAclsInfoRequest request)
                                                                                         throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getQueueUserAcls in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getDelegationToken

public org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenResponse getDelegationToken(org.apache.hadoop.yarn.api.protocolrecords.GetDelegationTokenRequest request)
                                                                                         throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getDelegationToken in interface org.apache.hadoop.yarn.api.ClientRMProtocol
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.