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

TaskLogServlet#printTaskLog has spurious HTML closing tags

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0
    • task
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment