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 "Harsh J (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/16 10:45:39 UTC

[jira] [Resolved] (MAPREDUCE-188) Web UI JSP: need to HTML-Escape log file contents

     [ https://issues.apache.org/jira/browse/MAPREDUCE-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J resolved MAPREDUCE-188.
-------------------------------

    Resolution: Not A Problem

We no longer use JSP in MR2 that'd cause such issues.
                
> Web UI JSP: need to HTML-Escape log file contents
> -------------------------------------------------
>
>                 Key: MAPREDUCE-188
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-188
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Michel Tourn
>            Assignee: Owen O'Malley
>
> Web UI JSP: need to HTML-Escape log (file) contents
> Displaying the task's error log or the mapred.Reporter status String:
> the content should 
> have all "<" and ">" converted to "&lt;" and "&gt;", 
> or use "<pre>" tag. 
> Otherwise, ant HTML/XML tags within will not be displayed correctly
> This problem occurs for ex. when using hadoopStreaming and 
> a MapRed record is a chunk of HTML/XML content (and a task fails)
> ex. problematic view:
> http://jobtracker:50030/taskdetails.jsp?jobid=job_0009&taskid=tip_0009_m_000000
> Other jsp pages may also need a change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira