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

Keqiu Hu commented on YARN-9036:
--------------------------------

[~jhung] latest patch 04 does import from commons-text 
{code:java}
+import org.apache.commons.text.StringEscapeUtils;
{code}



> Escape newlines in health report in YARN UI
> -------------------------------------------
>
>                 Key: YARN-9036
>                 URL: https://issues.apache.org/jira/browse/YARN-9036
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jonathan Hung
>            Assignee: Keqiu Hu
>            Priority: Major
>         Attachments: YARN-9036.001.patch, YARN-9036.002.patch, 
> YARN-9036.003.patch, YARN-9036.003.patch, YARN-9036.004.patch
>
>
> NodesPage prints health report info in the UI in a javascript string. If 
> health report contains newlines it will garble the generated code and the 
> list of nodes cannot be rendered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to