MAPREDUCE-3689. RM web UI doesn't handle newline in job name. (Thomas Graves via mahadev) - Merging r1234148 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1234149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8539e71bd0
commit
f80dc919ad
|
@ -472,6 +472,9 @@ Release 0.23.1 - Unreleased
|
|||
MAPREDUCE-3698. Client cannot talk to the history server in secure mode.
|
||||
(mahadev)
|
||||
|
||||
MAPREDUCE-3689. RM web UI doesn't handle newline in job name.
|
||||
(Thomas Graves via mahadev)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -40,7 +40,7 @@ public class Jsons {
|
|||
|
||||
public static PrintWriter appendProgressBar(PrintWriter out,
|
||||
float progress) {
|
||||
return appendProgressBar(out, String.format("%.1f", progress * 100));
|
||||
return appendProgressBar(out, String.format("%.1f", progress));
|
||||
}
|
||||
|
||||
public static PrintWriter appendSortable(PrintWriter out, Object value) {
|
||||
|
|
|
@ -66,7 +66,7 @@ class AppsList implements ToJSON {
|
|||
appendLink(out, appInfo.getAppId(), rc.prefix(), "app",
|
||||
appInfo.getAppId()).append(_SEP).
|
||||
append(escapeHtml(appInfo.getUser())).append(_SEP).
|
||||
append(escapeHtml(appInfo.getName())).append(_SEP).
|
||||
append(escapeJavaScript(escapeHtml(appInfo.getName()))).append(_SEP).
|
||||
append(escapeHtml(appInfo.getQueue())).append(_SEP).
|
||||
append(appInfo.getState()).append(_SEP).
|
||||
append(appInfo.getFinalStatus()).append(_SEP);
|
||||
|
|
Loading…
Reference in New Issue