Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10491

Fix deprecation warnings in SLSWebApp.java

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

            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"));
      

      IOUtils.toString(InputStream, Charset) should be used.

      Attachments

        Issue Links

          Activity

            People

              akumar Ankit Kumar
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m