You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/01/11 18:31:46 UTC
[jira] Commented: (MAPREDUCE-2253) Servlets should specify content
type
[ https://issues.apache.org/jira/browse/MAPREDUCE-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980197#action_12980197 ]
Owen O'Malley commented on MAPREDUCE-2253:
------------------------------------------
Would it work to just create a TaskTracker, poke at the data structures as if a task had run and create the task logs and map outputs, and use http client to get the content type? There would be a lot of value in adding that kind of test.
> Servlets should specify content type
> ------------------------------------
>
> Key: MAPREDUCE-2253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Critical
> Fix For: 0.22.0
>
> Attachments: mapreduce-2253.txt
>
>
> HADOOP-7093 will change the default content-type to text/plain. So TaskLogServlet, which outputs HTML, needs to change to specify this content type. I believe the other HTML servlets already correctly specify a content type. The MapOutputServlet appears to specify no content type and work fine without one, but to be "correct" we may as well specify application/octet-stream
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.