Class ClientAMProtocolPBClientImpl
java.lang.Object
org.apache.hadoop.yarn.service.impl.pb.client.ClientAMProtocolPBClientImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.yarn.service.ClientAMProtocol
-
Constructor Summary
ConstructorsConstructorDescriptionClientAMProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.proto.ClientAMProtocol.CancelUpgradeResponseProtocancelUpgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.CancelUpgradeRequestProto request) voidclose()org.apache.hadoop.yarn.proto.ClientAMProtocol.DecommissionCompInstancesResponseProtodecommissionCompInstances(org.apache.hadoop.yarn.proto.ClientAMProtocol.DecommissionCompInstancesRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.FlexComponentsResponseProtoflexComponents(org.apache.hadoop.yarn.proto.ClientAMProtocol.FlexComponentsRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.GetCompInstancesResponseProtogetCompInstances(org.apache.hadoop.yarn.proto.ClientAMProtocol.GetCompInstancesRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.GetStatusResponseProtogetStatus(org.apache.hadoop.yarn.proto.ClientAMProtocol.GetStatusRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.RestartServiceResponseProtorestart(org.apache.hadoop.yarn.proto.ClientAMProtocol.RestartServiceRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.StopResponseProtostop(org.apache.hadoop.yarn.proto.ClientAMProtocol.StopRequestProto requestProto) org.apache.hadoop.yarn.proto.ClientAMProtocol.CompInstancesUpgradeResponseProtoupgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.CompInstancesUpgradeRequestProto request) org.apache.hadoop.yarn.proto.ClientAMProtocol.UpgradeServiceResponseProtoupgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.UpgradeServiceRequestProto request)
-
Constructor Details
-
ClientAMProtocolPBClientImpl
public ClientAMProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
-
Method Details
-
flexComponents
public org.apache.hadoop.yarn.proto.ClientAMProtocol.FlexComponentsResponseProto flexComponents(org.apache.hadoop.yarn.proto.ClientAMProtocol.FlexComponentsRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
flexComponentsin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
getStatus
public org.apache.hadoop.yarn.proto.ClientAMProtocol.GetStatusResponseProto getStatus(org.apache.hadoop.yarn.proto.ClientAMProtocol.GetStatusRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
getStatusin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
stop
public org.apache.hadoop.yarn.proto.ClientAMProtocol.StopResponseProto stop(org.apache.hadoop.yarn.proto.ClientAMProtocol.StopRequestProto requestProto) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
stopin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
upgrade
public org.apache.hadoop.yarn.proto.ClientAMProtocol.UpgradeServiceResponseProto upgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.UpgradeServiceRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
upgradein interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
restart
public org.apache.hadoop.yarn.proto.ClientAMProtocol.RestartServiceResponseProto restart(org.apache.hadoop.yarn.proto.ClientAMProtocol.RestartServiceRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
restartin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
upgrade
public org.apache.hadoop.yarn.proto.ClientAMProtocol.CompInstancesUpgradeResponseProto upgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.CompInstancesUpgradeRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
upgradein interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
getCompInstances
public org.apache.hadoop.yarn.proto.ClientAMProtocol.GetCompInstancesResponseProto getCompInstances(org.apache.hadoop.yarn.proto.ClientAMProtocol.GetCompInstancesRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
getCompInstancesin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
cancelUpgrade
public org.apache.hadoop.yarn.proto.ClientAMProtocol.CancelUpgradeResponseProto cancelUpgrade(org.apache.hadoop.yarn.proto.ClientAMProtocol.CancelUpgradeRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
cancelUpgradein interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-
decommissionCompInstances
public org.apache.hadoop.yarn.proto.ClientAMProtocol.DecommissionCompInstancesResponseProto decommissionCompInstances(org.apache.hadoop.yarn.proto.ClientAMProtocol.DecommissionCompInstancesRequestProto request) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException - Specified by:
decommissionCompInstancesin interfaceorg.apache.hadoop.yarn.service.ClientAMProtocol- Throws:
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException
-