@InterfaceAudience.Public @InterfaceStability.Stable public interface RegisterApplicationMasterRequest
The request sent by the ApplicationMaster
to
ResourceManager
on registration.
The registration includes details such as:
ApplicationAttemptId
being managed by the
ApplicationMaster
Modifier and Type | Method and Description |
---|---|
ApplicationAttemptId |
getApplicationAttemptId()
Get the
ApplicationAttemptId being managed by the
ApplicationMaster . |
String |
getHost()
Get the host on which the
ApplicationMaster is
running. |
int |
getRpcPort()
Get the RPC port on which the
ApplicationMaster
is responding. |
String |
getTrackingUrl()
Get the tracking URL for the
ApplicationMaster . |
void |
setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
Set the
ApplicationAttemptId being managed by the
ApplicationMaster . |
void |
setRpcPort(int port)
Set the RPC port on which the
ApplicationMaster is
responding. |
void |
setTrackingUrl(String trackingUrl)
Set the tracking URL for the
ApplicationMaster . |
@InterfaceAudience.Public @InterfaceStability.Stable ApplicationAttemptId getApplicationAttemptId()
ApplicationAttemptId
being managed by the
ApplicationMaster
.ApplicationAttemptId
being managed by the
ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable void setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
ApplicationAttemptId
being managed by the
ApplicationMaster
.applicationAttemptId
- ApplicationAttemptId
being managed
by the ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable String getHost()
ApplicationMaster
is
running.ApplicationMaster
is running@InterfaceAudience.Public @InterfaceStability.Stable int getRpcPort()
ApplicationMaster
is responding.ApplicationMaster
is
responding@InterfaceAudience.Public @InterfaceStability.Stable void setRpcPort(int port)
ApplicationMaster
is
responding.port
- RPC port on which the ApplicationMaster
is
responding@InterfaceAudience.Public @InterfaceStability.Stable String getTrackingUrl()
ApplicationMaster
.ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable void setTrackingUrl(String trackingUrl)
ApplicationMaster
.trackingUrl
- tracking URL for the
ApplicationMaster
Copyright © 2014 Apache Software Foundation. All Rights Reserved.