org.apache.hadoop.yarn.server.webapp
Class WebServices
java.lang.Object
org.apache.hadoop.yarn.server.webapp.WebServices
public class WebServices
- extends Object
|
Method Summary |
AppInfo |
getApp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId)
|
AppAttemptInfo |
getAppAttempt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
|
AppAttemptsInfo |
getAppAttempts(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId)
|
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,
Set<String> applicationTypes)
|
ContainerInfo |
getContainer(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId,
String containerId)
|
ContainersInfo |
getContainers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
|
protected static org.apache.hadoop.security.UserGroupInformation |
getUser(javax.servlet.http.HttpServletRequest req)
|
protected void |
init(javax.servlet.http.HttpServletResponse response)
|
protected static org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
parseApplicationAttemptId(String appAttemptId)
|
protected static org.apache.hadoop.yarn.api.records.ApplicationId |
parseApplicationId(String appId)
|
protected static org.apache.hadoop.yarn.api.records.ContainerId |
parseContainerId(String containerId)
|
protected static Set<String> |
parseQueries(Set<String> queries,
boolean isState)
|
protected void |
validateIds(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.ContainerId containerId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appContext
protected ApplicationContext appContext
WebServices
public WebServices(ApplicationContext appContext)
getApps
public 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,
Set<String> applicationTypes)
getApp
public AppInfo getApp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId)
getAppAttempts
public AppAttemptsInfo getAppAttempts(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId)
getAppAttempt
public AppAttemptInfo getAppAttempt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
getContainers
public ContainersInfo getContainers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId)
getContainer
public ContainerInfo getContainer(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId,
String containerId)
init
protected void init(javax.servlet.http.HttpServletResponse response)
parseQueries
protected static Set<String> parseQueries(Set<String> queries,
boolean isState)
parseApplicationId
protected static org.apache.hadoop.yarn.api.records.ApplicationId parseApplicationId(String appId)
parseApplicationAttemptId
protected static org.apache.hadoop.yarn.api.records.ApplicationAttemptId parseApplicationAttemptId(String appAttemptId)
parseContainerId
protected static org.apache.hadoop.yarn.api.records.ContainerId parseContainerId(String containerId)
validateIds
protected void validateIds(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.ContainerId containerId)
getUser
protected static org.apache.hadoop.security.UserGroupInformation getUser(javax.servlet.http.HttpServletRequest req)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.