| Package | Description |
|---|---|
| org.apache.slider.client.ipc | |
| org.apache.slider.core.launch | |
| org.apache.slider.server.appmaster.rpc |
| Constructor and Description |
|---|
SliderApplicationIpcClient(SliderClusterProtocol proxy) |
SliderClusterOperations(SliderClusterProtocol appMaster) |
| Modifier and Type | Method and Description |
|---|---|
SliderClusterProtocol |
RunningApplication.connect(org.apache.hadoop.yarn.api.records.ApplicationReport app)
Connect to a Slider AM
|
| Modifier and Type | Class and Description |
|---|---|
class |
SliderClusterProtocolProxy |
class |
SliderIPCService
Implement the
SliderClusterProtocol. |
| Modifier and Type | Method and Description |
|---|---|
static SliderClusterProtocol |
RpcBinder.connectToServer(InetSocketAddress addr,
org.apache.hadoop.security.UserGroupInformation currentUser,
org.apache.hadoop.conf.Configuration conf,
int rpcTimeout)
Connect to a server.
|
static SliderClusterProtocol |
RpcBinder.createProxy(org.apache.hadoop.conf.Configuration conf,
String host,
int port,
org.apache.hadoop.yarn.api.records.Token clientToAMToken,
int rpcTimeout) |
static SliderClusterProtocol |
RpcBinder.getProxy(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.ApplicationClientProtocol rmClient,
org.apache.hadoop.yarn.api.records.ApplicationReport application,
int connectTimeout,
int rpcTimeout)
This loops for a limited period trying to get the Proxy -
by doing so it handles AM failover
|
static SliderClusterProtocol |
RpcBinder.getProxy(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationReport application,
int rpcTimeout)
Get a proxy from the application report
|
| Constructor and Description |
|---|
SliderClusterProtocolPBImpl(SliderClusterProtocol real) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.