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

Akira Ajisaka commented on YARN-10491:
--------------------------------------

There are similar deprecation warnings in TestSLSWebApp. They should be fixed 
as well.

> Fix deprecation warnings in SLSWebApp.java
> ------------------------------------------
>
>                 Key: YARN-10491
>                 URL: https://issues.apache.org/jira/browse/YARN-10491
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: build
>            Reporter: Akira Ajisaka
>            Priority: Minor
>
> {code}
>       simulateInfoTemplate = IOUtils.toString(
>           cl.getResourceAsStream("html/simulate.info.html.template"));
>       simulateTemplate = IOUtils.toString(
>           cl.getResourceAsStream("html/simulate.html.template"));
>       trackTemplate = IOUtils.toString(
>           cl.getResourceAsStream("html/track.html.template"));
> {code}
> {{IOUtils.toString(InputStream, Charset)}} should be used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to