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

[jira] [Resolved] (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 resolved YARN-10491.
----------------------------------
    Fix Version/s: 3.2.3
                   3.1.5
                   3.3.1
                   3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

Committed to trunk, branch-3.3, branch-3.2, and branch-3.1. Thank you [~akumar] for your contribution.

> 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
>            Assignee: Ankit Kumar
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 3.4.0, 3.3.1, 3.1.5, 3.2.3
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> {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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org