Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5702

TaskLogServlet#printTaskLog has spurious HTML closing tags

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: task
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      TaskLogServlet#printTaskLog closes some HTML tags that it never opens. These should be removed. This isn't a problem while viewing in a browser, but can lead to issues while parsing it.

            if( !plainText ) {
              out.write("</pre></td></tr></table><hr><br>\n".getBytes()); // <--- here
            }
      

        Attachments

        1. MAPREDUCE-5702.patch
          0.6 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              kasha Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: