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
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static String getTaskLogUrl(String taskTrackerHostName, String httpPort, String taskAttemptID)
taskTrackerHostName
- httpPort
- 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.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2010 The Apache Software Foundation