[ https://issues.apache.org/jira/browse/HADOOP-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560192#action_12560192 ]
Michael Bieniosek commented on HADOOP-2572: ------------------------------------------- > This should be re-written to test if the file exists rather than catching the > exception. Exceptions should be saved for unexpected problems. This would make the patch much more complicated, because the code that synthesizes the filename is buried in the TaskLog.Reader constructor. > TaskLogServlet returns 410 when trying to access log early in task life > ----------------------------------------------------------------------- > > Key: HADOOP-2572 > URL: https://issues.apache.org/jira/browse/HADOOP-2572 > Project: Hadoop > Issue Type: Bug > Components: mapred > Affects Versions: 0.15.0 > Reporter: Michael Bieniosek > Fix For: 0.16.0 > > Attachments: hadoop-2572.patch > > > Early in a map task life, or for tasks that died quickly, the file > $task/syslog might not exist. In this case, the TaskLogServlet gives a > status 410. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.