[ https://issues.apache.org/jira/browse/HADOOP-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar updated HADOOP-2538: ---------------------------------- Resolution: Fixed Fix Version/s: 0.16.0 Status: Resolved (was: Patch Available) I committed this patch, thanks Michael ! > NPE in TaskLog.java > ------------------- > > Key: HADOOP-2538 > URL: https://issues.apache.org/jira/browse/HADOOP-2538 > Project: Hadoop > Issue Type: Bug > Components: mapred > Affects Versions: 0.15.0 > Reporter: Michael Bieniosek > Priority: Trivial > Fix For: 0.16.0 > > Attachments: hadoop-2538.patch > > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.