public class TaskLogServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
TaskLogServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the logs via http.
|
static java.lang.String |
getTaskLogUrl(java.lang.String taskTrackerHostName,
java.lang.String httpPort,
java.lang.String taskAttemptID)
Construct the taskLogUrl
|
static java.lang.String |
getTaskLogUrl(TaskTrackerStatus status,
java.lang.String taskAttemptID)
Construct the taskLogUrl
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static java.lang.String getTaskLogUrl(java.lang.String taskTrackerHostName,
java.lang.String httpPort,
java.lang.String taskAttemptID)
taskTrackerHostName - httpPort - taskAttemptID - public static java.lang.String getTaskLogUrl(TaskTrackerStatus status, java.lang.String taskAttemptID)
status - taskAttemptID - public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionCopyright © 2009 The Apache Software Foundation