|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.webapp.Controller
org.apache.hadoop.mapreduce.v2.app.webapp.AppController
public class AppController
This class renders the various pages that the web app supports.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.Controller |
|---|
org.apache.hadoop.yarn.webapp.Controller.RequestContext |
| Field Summary | |
|---|---|
protected App |
app
|
| Fields inherited from interface org.apache.hadoop.mapreduce.v2.app.webapp.AMParams |
|---|
APP_ID, ATTEMPT_STATE, COUNTER_GROUP, COUNTER_NAME, JOB_ID, RM_WEB, TASK_ID, TASK_TYPE |
| Fields inherited from interface org.apache.hadoop.yarn.webapp.Params |
|---|
ERROR_DETAILS, TITLE, TITLE_LINK, USER |
| Constructor Summary | |
|---|---|
protected |
AppController(App app,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.webapp.Controller.RequestContext ctx)
|
protected |
AppController(App app,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.webapp.Controller.RequestContext ctx,
String title)
|
| Method Summary | |
|---|---|
void |
attempts()
Render the attempts page |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
attemptsPage()
|
void |
conf()
Render the /conf page |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
confPage()
|
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
countersPage()
|
void |
index()
Render the default(index.html) page for the Application Controller |
void |
info()
Render the /info page with an overview of current application. |
void |
job()
Render the /job page |
void |
jobCounters()
Render the /jobcounters page |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
jobPage()
|
void |
requireJob()
Ensure that a JOB_ID was passed into the page. |
void |
requireTask()
Ensure that a TASK_ID was passed into the page. |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
singleCounterPage()
|
void |
singleJobCounter()
Render the /singlejobcounter page |
void |
singleTaskCounter()
Render the /singletaskcounter page |
void |
task()
Render the /task page |
void |
taskCounters()
Display a page showing a task's counters |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
taskPage()
|
void |
tasks()
Render the /tasks page |
protected Class<? extends org.apache.hadoop.yarn.webapp.View> |
tasksPage()
|
| Methods inherited from class org.apache.hadoop.yarn.webapp.Controller |
|---|
$, context, cookies, echo, error, get, getInstance, inDevMode, info, injector, render, renderJSON, renderJSON, renderText, request, response, set, setStatus, setTitle, setTitle, status, url, writer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final App app
| Constructor Detail |
|---|
protected AppController(App app,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.webapp.Controller.RequestContext ctx,
String title)
@Inject
protected AppController(App app,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.webapp.Controller.RequestContext ctx)
| Method Detail |
|---|
public void index()
index in class org.apache.hadoop.yarn.webapp.Controllerpublic void info()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> jobPage()
public void job()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> countersPage()
public void jobCounters()
public void taskCounters()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> singleCounterPage()
public void singleJobCounter()
throws IOException
IOException - on any error.
public void singleTaskCounter()
throws IOException
IOException - on any error.protected Class<? extends org.apache.hadoop.yarn.webapp.View> tasksPage()
public void tasks()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> taskPage()
public void task()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> attemptsPage()
public void attempts()
protected Class<? extends org.apache.hadoop.yarn.webapp.View> confPage()
public void conf()
public void requireJob()
public void requireTask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||