@InterfaceAudience.Private @InterfaceStability.Unstable public class RegisterApplicationMasterRequestPBImpl extends RegisterApplicationMasterRequest
| Constructor and Description |
|---|
RegisterApplicationMasterRequestPBImpl() |
RegisterApplicationMasterRequestPBImpl(YarnServiceProtos.RegisterApplicationMasterRequestProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getHost()
Get the host on which the
ApplicationMaster is
running. |
YarnServiceProtos.RegisterApplicationMasterRequestProto |
getProto() |
int |
getRpcPort()
Get the RPC port on which the
ApplicationMaster
is responding. |
String |
getTrackingUrl()
Get the tracking URL for the
ApplicationMaster. |
int |
hashCode() |
void |
setHost(String host)
Set the host on which the
ApplicationMaster is
running. |
void |
setRpcPort(int port)
Set the RPC port on which the
ApplicationMaster is
responding. |
void |
setTrackingUrl(String url)
Set the tracking URLfor the
ApplicationMaster while
it is running. |
String |
toString() |
newInstancepublic RegisterApplicationMasterRequestPBImpl()
public RegisterApplicationMasterRequestPBImpl(YarnServiceProtos.RegisterApplicationMasterRequestProto proto)
public YarnServiceProtos.RegisterApplicationMasterRequestProto getProto()
public String getHost()
RegisterApplicationMasterRequestApplicationMaster is
running.getHost in class RegisterApplicationMasterRequestApplicationMaster is runningpublic void setHost(String host)
RegisterApplicationMasterRequestApplicationMaster is
running.setHost in class RegisterApplicationMasterRequesthost - host on which the ApplicationMaster
is runningpublic int getRpcPort()
RegisterApplicationMasterRequestApplicationMaster
is responding.getRpcPort in class RegisterApplicationMasterRequestApplicationMaster is
respondingpublic void setRpcPort(int port)
RegisterApplicationMasterRequestApplicationMaster is
responding.setRpcPort in class RegisterApplicationMasterRequestport - RPC port on which the ApplicationMaster is
respondingpublic String getTrackingUrl()
RegisterApplicationMasterRequestApplicationMaster.
This url if contains scheme then that will be used by resource manager
web application proxy otherwise it will default to http.getTrackingUrl in class RegisterApplicationMasterRequestApplicationMasterpublic void setTrackingUrl(String url)
RegisterApplicationMasterRequestApplicationMaster while
it is running. This is the web-URL to which ResourceManager or
web-application proxy will redirect client/users while the application and
the ApplicationMaster are still running.
If the passed url has a scheme then that will be used by the ResourceManager and web-application proxy, otherwise the scheme will default to http.
Empty, null, "N/A" strings are all valid besides a real URL. In case an url isn't explicitly passed, it defaults to "N/A" on the ResourceManager.
setTrackingUrl in class RegisterApplicationMasterRequesturl - tracking URLfor the ApplicationMasterCopyright © 2013 Apache Software Foundation. All rights reserved.