You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/08/13 16:00:00 UTC

[jira] [Updated] (MAPREDUCE-7230) TestHSWebApp.testLogsViewSingle fails

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prabhu Joseph updated MAPREDUCE-7230:
-------------------------------------
    Status: Patch Available  (was: Open)

> TestHSWebApp.testLogsViewSingle fails
> -------------------------------------
>
>                 Key: MAPREDUCE-7230
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7230
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, test
>    Affects Versions: 3.3.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: MAPREDUCE-7230-001.patch
>
>
> TestHSWebApp.testLogsViewSingle fails.
> {code}
> [ERROR] testLogsViewSingle(org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp)  Time elapsed: 0.294 s  <<< FAILURE!
> Argument(s) are different! Wanted:
> printWriter.write(
>     "Logs not available for container_10_0001_01_000001. Aggregation may not be complete, Check back later or try the nodemanager at localhost:1234"
> );
> -> at org.apache.hadoop.mapreduce.v2.hs.webapp.TestHSWebApp.testLogsViewSingle(TestHSWebApp.java:234)
> Actual invocations have different arguments:
> printWriter.print(
>     "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">"
> );
> -> at org.apache.hadoop.yarn.webapp.view.TextView.echoWithoutEscapeHtml(TextView.java:62)
> printWriter.write(
>     "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">"
> );
> -> at java.io.PrintWriter.print(PrintWriter.java:617)
> printWriter.write(
>     "<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">",
>     0,
>     90
> );
> -> at java.io.PrintWriter.write(PrintWriter.java:473)
> printWriter.println(
>     
> );
> -> at org.apache.hadoop.yarn.webapp.view.TextView.putWithoutEscapeHtml(TextView.java:81)
> printWriter.print(
>     "<html"
> );
> -> at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.printStartTag(HamletImpl.java:273)
> printWriter.write(
>     "<html"
> );
> -> at java.io.PrintWriter.print(PrintWriter.java:603)
> printWriter.write(
>     "<html",
>     0,
>     5
> );
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org