Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.15.0
-
None
-
None
Description
In the tasktracker web ui, if I go to
/tasklog?taskid=task_200801020752_0383_m_000000_0&all=true&plaintext=true
which corresponds to a short log (<4k), I get a 500 in the web ui, and this NPE in the tasktracker log:
2008-01-07 21:02:13,935 WARN /: /tasklog?taskid=task_200801020752_0383_m_000000_
0&all=true&plaintext=true:
java.lang.NullPointerException
at org.apache.hadoop.mapred.TaskLog.getTaskLogFile(TaskLog.java:48)
at org.apache.hadoop.mapred.TaskLog$Reader.<init>(TaskLog.java:124)
at org.apache.hadoop.mapred.TaskLogServlet.printTaskLog(TaskLogServlet.j
ava:44)
at org.apache.hadoop.mapred.TaskLogServlet.doGet(TaskLogServlet.java:134
)
Note that /tasklog?taskid=task_200801020752_0383_m_000000_0&all=true&plaintext=true is an invalid url; the url should look like &plaintext=true&filter=STDOUT