hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bieniosek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1770) Illegal state exception in printTaskLog -> sendError
Date Thu, 10 Jan 2008 01:12:38 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557506#action_12557506
] 

Michael Bieniosek commented on HADOOP-1770:
-------------------------------------------

This is because response.sendError is called after out.write in TaskLogServlet.

> Illegal state exception in printTaskLog -> sendError
> ----------------------------------------------------
>
>                 Key: HADOOP-1770
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1770
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.14.0
>            Reporter: Michael Bieniosek
>
> This error shows up in my logs:
> 2007-08-23 16:40:08,028 WARN /: /tasklog?taskid=task_200708212126_0043_m_000100_0&all=true:

> java.lang.IllegalStateException: Committed
>         at org.mortbay.jetty.servlet.ServletHttpResponse.resetBuffer(ServletHttpResponse.java:212)
>         at org.mortbay.jetty.servlet.ServletHttpResponse.sendError(ServletHttpResponse.java:375)
>         at org.apache.hadoop.mapred.TaskLogServlet.printTaskLog(TaskLogServlet.java:61)
>         at org.apache.hadoop.mapred.TaskLogServlet.doGet(TaskLogServlet.java:125)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
>         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>         at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
>         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
>         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message