Modifier and Type | Field and Description |
---|---|
protected App |
app |
APP_ID, ATTEMPT_STATE, COUNTER_GROUP, COUNTER_NAME, JOB_ID, RM_WEB, TASK_ID, TASK_STATE, TASK_TYPE
Modifier | Constructor and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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 |
downloadConf()
Handle requests to download the job configuration.
|
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() |
protected final App app
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)
public void index()
index
in class org.apache.hadoop.yarn.webapp.Controller
public 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 downloadConf()
public void requireJob()
public void requireTask()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.