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

Xia Hu updated YARN-3083:
-------------------------
    Description: 
In my fair scheduler web page, the resources shown of each queue is like this:  
 "& lt;memory:65536, vCores:0& gt;"
so obviously "& lt;" should be shown as "<", bet it isn't. After reading the 
codes, I suppose it's because method StringEscapeUtils.escapeHtml is called 
twice. But I only found one place. Anyway, I modify the code, and this problem 
seems to be solved. 

  was:
In my fair scheduler web page, the resources shown of each queue is like this:  
 "&lt;memory:65536, vCores:0&gt;"
so obviously "& lt;" should be shown as "<", bet it isn't. After reading the 
codes, I suppose it's because method StringEscapeUtils.escapeHtml is called 
twice. But I only found one place. Anyway, I modify the code, and this problem 
seems to be solved. 


> Resource format isn't correct in Fair Scheduler web page
> --------------------------------------------------------
>
>                 Key: YARN-3083
>                 URL: https://issues.apache.org/jira/browse/YARN-3083
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 2.3.0
>            Reporter: Xia Hu
>              Labels: UI, fairscheduler
>         Attachments: fairscheduler-ui-format.patch
>
>
> In my fair scheduler web page, the resources shown of each queue is like 
> this:   "& lt;memory:65536, vCores:0& gt;"
> so obviously "& lt;" should be shown as "<", bet it isn't. After reading the 
> codes, I suppose it's because method StringEscapeUtils.escapeHtml is called 
> twice. But I only found one place. Anyway, I modify the code, and this 
> problem seems to be solved. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to