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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagerPBClientImpl
All Implemented Interfaces:
Closeable, org.apache.hadoop.yarn.api.ContainerManager

public class ContainerManagerPBClientImpl
extends Object
implements org.apache.hadoop.yarn.api.ContainerManager, Closeable


Constructor Summary
ContainerManagerPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void close()
           
 org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusResponse getContainerStatus(org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.StartContainerResponse startContainer(org.apache.hadoop.yarn.api.protocolrecords.StartContainerRequest request)
           
 org.apache.hadoop.yarn.api.protocolrecords.StopContainerResponse stopContainer(org.apache.hadoop.yarn.api.protocolrecords.StopContainerRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerManagerPBClientImpl

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

close

public void close()
Specified by:
close in interface Closeable

getContainerStatus

public org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusResponse getContainerStatus(org.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusRequest request)
                                                                                         throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
getContainerStatus in interface org.apache.hadoop.yarn.api.ContainerManager
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

startContainer

public org.apache.hadoop.yarn.api.protocolrecords.StartContainerResponse startContainer(org.apache.hadoop.yarn.api.protocolrecords.StartContainerRequest request)
                                                                                 throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
startContainer in interface org.apache.hadoop.yarn.api.ContainerManager
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

stopContainer

public org.apache.hadoop.yarn.api.protocolrecords.StopContainerResponse stopContainer(org.apache.hadoop.yarn.api.protocolrecords.StopContainerRequest request)
                                                                               throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Specified by:
stopContainer in interface org.apache.hadoop.yarn.api.ContainerManager
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.