MAPREDUCE-3689. RM web UI doesn't handle newline in job name. (Thomas Graves via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1234148 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
654b90fa23
commit
b49aae0635
@ -520,6 +520,9 @@ Release 0.23.1 - Unreleased
|
|||||||
MAPREDUCE-3698. Client cannot talk to the history server in secure mode.
|
MAPREDUCE-3698. Client cannot talk to the history server in secure mode.
|
||||||
(mahadev)
|
(mahadev)
|
||||||
|
|
||||||
|
MAPREDUCE-3689. RM web UI doesn't handle newline in job name.
|
||||||
|
(Thomas Graves via mahadev)
|
||||||
|
|
||||||
Release 0.23.0 - 2011-11-01
|
Release 0.23.0 - 2011-11-01
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -40,7 +40,7 @@ public class Jsons {
|
|||||||
|
|
||||||
public static PrintWriter appendProgressBar(PrintWriter out,
|
public static PrintWriter appendProgressBar(PrintWriter out,
|
||||||
float progress) {
|
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) {
|
public static PrintWriter appendSortable(PrintWriter out, Object value) {
|
||||||
|
@ -66,7 +66,7 @@ class AppsList implements ToJSON {
|
|||||||
appendLink(out, appInfo.getAppId(), rc.prefix(), "app",
|
appendLink(out, appInfo.getAppId(), rc.prefix(), "app",
|
||||||
appInfo.getAppId()).append(_SEP).
|
appInfo.getAppId()).append(_SEP).
|
||||||
append(escapeHtml(appInfo.getUser())).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(escapeHtml(appInfo.getQueue())).append(_SEP).
|
||||||
append(appInfo.getState()).append(_SEP).
|
append(appInfo.getState()).append(_SEP).
|
||||||
append(appInfo.getFinalStatus()).append(_SEP);
|
append(appInfo.getFinalStatus()).append(_SEP);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user