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

Thomas Graves commented on YARN-764:
------------------------------------

Nemon, thanks for looking at this.  I guess its because it uses the raw "<" 
character instead of "&lt". 

Another option, which I would prefer, is just to escape the string using 
StringEscapeUtils.escapeHtml() in CapacitySchedulerPage.java.  That way if 
someone adds something else to the string in the future or it accidentally gets 
changed back it will still work.
                
> blank Used Resources on Capacity Scheduler page 
> ------------------------------------------------
>
>                 Key: YARN-764
>                 URL: https://issues.apache.org/jira/browse/YARN-764
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.4-alpha
>            Reporter: nemon lou
>            Assignee: nemon lou
>         Attachments: YARN-764.patch
>
>
> Even when there are jobs running,used resources is empty on Capacity 
> Scheduler page for leaf queue.(I use google-chrome on windows 7.)
> After changing resource.java's toString method by replacing "<>" with 
> "{}",this bug gets fixed.

--
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

Reply via email to