You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ravi Prakash (JIRA)" <ji...@apache.org> on 2012/12/11 01:17:21 UTC

[jira] [Updated] (YARN-266) RM and JHS Web UIs are blank because AppsBlock is not escaping string properly

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

Ravi Prakash updated YARN-266:
------------------------------

    Attachment: YARN-266.patch

Simple patch to fix the issue. 
                
> RM and JHS Web UIs are blank because AppsBlock is not escaping string properly
> ------------------------------------------------------------------------------
>
>                 Key: YARN-266
>                 URL: https://issues.apache.org/jira/browse/YARN-266
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.2-alpha, 3.0.0, 0.23.5
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>            Priority: Critical
>              Labels: webui
>         Attachments: YARN-266.patch
>
>
> e.g. Job names with a line feed "\n" are causing a line feed in the JSON array being written out (since we are only using StringEscapeUtils.escapeHtml() ) and the Javascript parser complains that string quotes are unclosed. This 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira