public class AHSWebServices
extends org.apache.hadoop.yarn.server.webapp.WebServices
| Constructor and Description |
|---|
AHSWebServices(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.timeline.TimelineAbout |
about(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
org.apache.hadoop.yarn.server.webapp.dao.AppsInfo |
get(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
org.apache.hadoop.yarn.server.webapp.dao.AppInfo |
getApp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId) |
org.apache.hadoop.yarn.server.webapp.dao.AppAttemptInfo |
getAppAttempt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId) |
org.apache.hadoop.yarn.server.webapp.dao.AppAttemptsInfo |
getAppAttempts(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId) |
org.apache.hadoop.yarn.server.webapp.dao.AppsInfo |
getApps(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String stateQuery,
Set<String> statesQuery,
String finalStatusQuery,
String userQuery,
String queueQuery,
String count,
String startedBegin,
String startedEnd,
String finishBegin,
String finishEnd,
String name,
Set<String> applicationTypes) |
org.apache.hadoop.yarn.server.webapp.dao.ContainerInfo |
getContainer(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId,
String containerId) |
javax.ws.rs.core.Response |
getContainerLogFile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String filename,
String format,
String size,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection)
Returns the contents of a container's log file in plain text.
|
javax.ws.rs.core.Response |
getContainerLogsInfo(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection)
Returns log file's name as well as current file size for a container.
|
org.apache.hadoop.yarn.server.webapp.dao.ContainersInfo |
getContainers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId) |
javax.ws.rs.core.Response |
getLogs(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String filename,
String format,
String size,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection) |
getApp, getApp, getApplicationAttemptReport, getApplicationAttemptsReport, getApplicationReport, getApplicationsReport, getContainer, getContainerReport, getContainersReport, getNodeHttpAddress, getUser, initForReadableEndpoints, parseApplicationAttemptId, parseApplicationId, parseContainerId, parseQueries, validateIds@Inject
public AHSWebServices(org.apache.hadoop.yarn.api.ApplicationBaseProtocol appBaseProt,
org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.yarn.api.records.timeline.TimelineAbout about(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res)
public org.apache.hadoop.yarn.server.webapp.dao.AppsInfo get(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res)
public org.apache.hadoop.yarn.server.webapp.dao.AppsInfo getApps(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String stateQuery,
Set<String> statesQuery,
String finalStatusQuery,
String userQuery,
String queueQuery,
String count,
String startedBegin,
String startedEnd,
String finishBegin,
String finishEnd,
String name,
Set<String> applicationTypes)
getApps in class org.apache.hadoop.yarn.server.webapp.WebServicespublic org.apache.hadoop.yarn.server.webapp.dao.AppInfo getApp(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String appId)
getApp in class org.apache.hadoop.yarn.server.webapp.WebServicespublic org.apache.hadoop.yarn.server.webapp.dao.AppAttemptsInfo getAppAttempts(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String appId)
getAppAttempts in class org.apache.hadoop.yarn.server.webapp.WebServicespublic org.apache.hadoop.yarn.server.webapp.dao.AppAttemptInfo getAppAttempt(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
getAppAttempt in class org.apache.hadoop.yarn.server.webapp.WebServicespublic org.apache.hadoop.yarn.server.webapp.dao.ContainersInfo getContainers(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
getContainers in class org.apache.hadoop.yarn.server.webapp.WebServicespublic org.apache.hadoop.yarn.server.webapp.dao.ContainerInfo getContainer(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId,
String containerId)
getContainer in class org.apache.hadoop.yarn.server.webapp.WebServicespublic javax.ws.rs.core.Response getContainerLogsInfo(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection)
req - HttpServletRequestres - HttpServletResponsecontainerIdStr - The container IDnmId - The Node Manager NodeIdredirectedFromNode - Whether this is a redirected request from NM@InterfaceAudience.Public
@InterfaceStability.Unstable
public javax.ws.rs.core.Response getContainerLogFile(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String filename,
String format,
String size,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection)
req - HttpServletRequestres - HttpServletResponsecontainerIdStr - The container IDfilename - The name of the log fileformat - The content typesize - the size of the log filenmId - The Node Manager NodeIdredirectedFromNode - Whether this is the redirect request from NM@InterfaceAudience.Public
@InterfaceStability.Unstable
public javax.ws.rs.core.Response getLogs(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
String containerIdStr,
String filename,
String format,
String size,
String nmId,
boolean redirectedFromNode,
boolean manualRedirection)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.