You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akira Ajisaka (Jira)" <ji...@apache.org> on 2020/11/16 10:20:00 UTC

[jira] [Updated] (YARN-10491) Fix deprecation warnings in SLSWebApp.java

     [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org