@InterfaceAudience.LimitedPrivate(value="YARN")
@InterfaceStability.Unstable
public interface AppInfoProvider
LogServlet
for providing various application related information.Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.server.webapp.BasicAppInfo |
getApp(javax.servlet.http.HttpServletRequest req,
String appId,
String clusterId)
Returns
BasicAppInfo object that wraps the collected information
about the application. |
String |
getNodeHttpAddress(javax.servlet.http.HttpServletRequest req,
String appId,
String appAttemptId,
String containerId,
String clusterId)
Returns the node HTTP address.
|
String getNodeHttpAddress(javax.servlet.http.HttpServletRequest req, String appId, String appAttemptId, String containerId, String clusterId)
req
- HttpServletRequest
associated with the requestappId
- the id of the applicationappAttemptId
- the id of the application attemptcontainerId
- the container idclusterId
- the id of the clusterorg.apache.hadoop.yarn.server.webapp.BasicAppInfo getApp(javax.servlet.http.HttpServletRequest req, String appId, String clusterId)
BasicAppInfo
object that wraps the collected information
about the application.req
- HttpServletRequest
associated with the requestappId
- the id of the applicationclusterId
- the id of the clusterBasicAppInfo
objectCopyright © 2008–2020 Apache Software Foundation. All rights reserved.