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 String |
getTaskLogUrl(String taskTrackerHostName,
String httpPort,
String taskAttemptID)
Construct the taskLogUrl
|
static String |
getTaskLogUrl(TaskTrackerStatus status,
String taskAttemptID)
Construct the taskLogUrl
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static String getTaskLogUrl(String taskTrackerHostName, String httpPort, String taskAttemptID)
taskTrackerHostName - httpPort - taskAttemptID - public static String getTaskLogUrl(TaskTrackerStatus status, String taskAttemptID)
status - taskAttemptID - public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2009 The Apache Software Foundation