hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-266) RM and JHS Web UIs are blank because AppsBlock is not escaping string properly
Date Wed, 12 Dec 2012 14:09:24 GMT

    [ https://issues.apache.org/jira/browse/YARN-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529962#comment-13529962
] 

Hudson commented on YARN-266:
-----------------------------

Integrated in Hadoop-Mapreduce-trunk #1283 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1283/])
    YARN-266. RM and JHS Web UIs are blank because AppsBlock is not escaping string properly.
Contributed by Ravi Prakash (Revision 1420232)

     Result = SUCCESS
jlowe : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1420232
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/webapp/HsJobsBlock.java
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/AppsBlock.java

                
> 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
>             Fix For: 2.0.3-alpha, 0.23.6
>
>         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

Mime
View raw message