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

Akira Ajisaka updated YARN-10491:
---------------------------------
    Labels: newbie  (was: )

> 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
>              Labels: newbie
>
> {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