Prabhu Joseph created MAPREDUCE-7230:
----------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]