Interface AppInfoProvider
- All Known Implementing Classes:
LogWebService,WebServices
@LimitedPrivate("YARN")
@Unstable
public interface AppInfoProvider
Classes implementing this interface are used in the
LogServlet
for providing various application related information.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.server.webapp.BasicAppInfoReturnsBasicAppInfoobject that wraps the collected information about the application.getNodeHttpAddress(javax.servlet.http.HttpServletRequest req, String appId, String appAttemptId, String containerId, String clusterId) Returns the node HTTP address.
-
Method Details
-
getNodeHttpAddress
String getNodeHttpAddress(javax.servlet.http.HttpServletRequest req, String appId, String appAttemptId, String containerId, String clusterId) Returns the node HTTP address.- Parameters:
req-HttpServletRequestassociated with the requestappId- the id of the applicationappAttemptId- the id of the application attemptcontainerId- the container idclusterId- the id of the cluster- Returns:
- the node HTTP address
-
getApp
org.apache.hadoop.yarn.server.webapp.BasicAppInfo getApp(javax.servlet.http.HttpServletRequest req, String appId, String clusterId) ReturnsBasicAppInfoobject that wraps the collected information about the application.- Parameters:
req-HttpServletRequestassociated with the requestappId- the id of the applicationclusterId- the id of the cluster- Returns:
BasicAppInfoobject
-