Web UI JSP: need to HTML-Escape log file contents
-------------------------------------------------

                 Key: HADOOP-416
                 URL: http://issues.apache.org/jira/browse/HADOOP-416
             Project: Hadoop
          Issue Type: Bug
          Components: mapred
            Reporter: Michel Tourn


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 contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to