HADOOP-7827 HDFS-2588 MAPREDUCE-3464. jsp pages missing DOCTYPE. Contributed by Dave Vronay.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1205519 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Foley 2011-11-23 18:15:37 +00:00
parent 41b1e3ffec
commit db092f5048
31 changed files with 33 additions and 3 deletions

View File

@ -182,6 +182,8 @@ Release 0.23.1 - UNRELEASED
HDFS-2575. DFSTestUtil may create empty files (todd) HDFS-2575. DFSTestUtil may create empty files (todd)
HDFS-2588. hdfs jsp pages missing DOCTYPE. (Dave Vronay via mattf)
Release 0.23.0 - 2011-11-01 Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -27,7 +27,7 @@
//for java.io.Serializable //for java.io.Serializable
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<%JspHelper.createTitle(out, request, request.getParameter("filename")); %> <%JspHelper.createTitle(out, request, request.getParameter("filename")); %>

View File

@ -29,7 +29,7 @@
//for java.io.Serializable //for java.io.Serializable
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<style type=text/css> <style type=text/css>

View File

@ -27,6 +27,7 @@
//for java.io.Serializable //for java.io.Serializable
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<%JspHelper.createTitle(out, request, request.getParameter("filename")); %> <%JspHelper.createTitle(out, request, request.getParameter("filename")); %>

View File

@ -38,6 +38,7 @@
int corruptFileCount = corruptFileBlocks.size(); int corruptFileCount = corruptFileBlocks.size();
%> %>
<!DOCTYPE html>
<html> <html>
<link rel="stylesheet" type="text/css" href="/static/hadoop.css"> <link rel="stylesheet" type="text/css" href="/static/hadoop.css">
<title>Hadoop <%=namenodeRole%> <%=namenodeLabel%></title> <title>Hadoop <%=namenodeRole%> <%=namenodeLabel%></title>

View File

@ -33,6 +33,7 @@
String namenodeLabel = nn.getNameNodeAddress().getHostName() + ":" + nn.getNameNodeAddress().getPort(); String namenodeLabel = nn.getNameNodeAddress().getHostName() + ":" + nn.getNameNodeAddress().getPort();
%> %>
<!DOCTYPE html>
<html> <html>
<link rel="stylesheet" type="text/css" href="/static/hadoop.css"> <link rel="stylesheet" type="text/css" href="/static/hadoop.css">

View File

@ -33,6 +33,7 @@ FSNamesystem fsn = nn.getNamesystem();
String namenodeLabel = nn.getNameNodeAddress().getHostName() + ":" + nn.getNameNodeAddress().getPort(); String namenodeLabel = nn.getNameNodeAddress().getHostName() + ":" + nn.getNameNodeAddress().getPort();
%> %>
<!DOCTYPE html>
<html> <html>
<link rel="stylesheet" type="text/css" href="/static/hadoop.css"> <link rel="stylesheet" type="text/css" href="/static/hadoop.css">

View File

@ -27,6 +27,7 @@
//for java.io.Serializable //for java.io.Serializable
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<title></title> <title></title>

View File

@ -27,6 +27,7 @@
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<link rel="stylesheet" type="text/css" href="/static/hadoop.css"> <link rel="stylesheet" type="text/css" href="/static/hadoop.css">
<title>Hadoop SecondaryNameNode</title> <title>Hadoop SecondaryNameNode</title>

View File

@ -173,6 +173,8 @@ Release 0.23.1 - Unreleased
MAPREDUCE-3329. Fixed CapacityScheduler to ensure maximum-capacity cannot MAPREDUCE-3329. Fixed CapacityScheduler to ensure maximum-capacity cannot
be lesser than capacity for any queue. (acmurthy) be lesser than capacity for any queue. (acmurthy)
MAPREDUCE-3464. mapreduce jsp pages missing DOCTYPE. (Dave Vronay via mattf)
Release 0.23.0 - 2011-11-01 Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -35,6 +35,7 @@
%> %>
<%! private static final long serialVersionUID = 1L; <%! private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html><body> <html><body>
<% <%
String logFile = request.getParameter("logFile"); String logFile = request.getParameter("logFile");

View File

@ -28,6 +28,7 @@
<%! private static final long serialVersionUID = 1L; <%! private static final long serialVersionUID = 1L;
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Error: User cannot access this Job</title> <title>Error: User cannot access this Job</title>

View File

@ -74,6 +74,7 @@
} }
%> %>
<!DOCTYPE html>
<html> <html>
<title>Hadoop <%=jobId%>'s black-listed tasktrackers</title> <title>Hadoop <%=jobId%>'s black-listed tasktrackers</title>
<body> <body>

View File

@ -39,7 +39,7 @@
return; return;
} }
%> %>
<!DOCTYPE html>
<html> <html>
<title>Job Configuration: JobId - <%= jobId %></title> <title>Job Configuration: JobId - <%= jobId %></title>

View File

@ -49,6 +49,7 @@
%> %>
<!DOCTYPE html>
<html> <html>
<title>Job Configuration: JobId - <%= jobId %></title> <title>Job Configuration: JobId - <%= jobId %></title>

View File

@ -267,6 +267,7 @@
%> %>
<%@page import="org.apache.hadoop.mapred.TaskGraphServlet"%> <%@page import="org.apache.hadoop.mapred.TaskGraphServlet"%>
<!DOCTYPE html>
<html> <html>
<head> <head>
<% <%

View File

@ -60,6 +60,7 @@
reasonforFailure = job.getErrorInfo(); reasonforFailure = job.getErrorInfo();
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Hadoop Job <%=jobid%> on History Viewer</title> <title>Hadoop Job <%=jobid%> on History Viewer</title>

View File

@ -184,6 +184,7 @@
String cause = request.getParameter("cause"); String cause = request.getParameter("cause");
%> %>
<!DOCTYPE html>
<html> <html>
<title>Hadoop <%=jobId%> failures on <%=trackerName%></title> <title>Hadoop <%=jobId%> failures on <%=trackerName%></title>
<body> <body>

View File

@ -44,6 +44,7 @@
private static SimpleDateFormat dateFormat = private static SimpleDateFormat dateFormat =
new SimpleDateFormat("d/MM HH:mm:ss"); new SimpleDateFormat("d/MM HH:mm:ss");
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<script type="text/JavaScript"> <script type="text/JavaScript">

View File

@ -35,6 +35,7 @@
TaskScheduler scheduler = tracker.getTaskScheduler(); TaskScheduler scheduler = tracker.getTaskScheduler();
JobQueueInfo schedInfo = tracker.getQueueInfo(queueName); JobQueueInfo schedInfo = tracker.getQueueInfo(queueName);
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Queue details for <%=queueName != null ? queueName : ""%> </title> <title>Queue details for <%=queueName != null ? queueName : ""%> </title>

View File

@ -75,6 +75,7 @@
} }
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Hadoop <%=type%> task list for <%=jobid%> on <%=trackerName%></title> <title>Hadoop <%=type%> task list for <%=jobid%> on <%=trackerName%></title>

View File

@ -53,6 +53,7 @@
} }
Map<TaskID, JobHistoryParser.TaskInfo> tasks = job.getAllTasks(); Map<TaskID, JobHistoryParser.TaskInfo> tasks = job.getAllTasks();
%> %>
<!DOCTYPE html>
<html> <html>
<body> <body>
<h2><%=taskStatus%> <%=taskType %> task list for <a href="jobdetailshistory.jsp?logFile=<%=logFile%>"><%=job.getJobId() %> </a></h2> <h2><%=taskStatus%> <%=taskType %> task list for <a href="jobdetailshistory.jsp?logFile=<%=logFile%>"><%=job.getJobId() %> </a></h2>

View File

@ -100,6 +100,7 @@
}%> }%>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title><%= trackerName %> Hadoop Map/Reduce Administration</title> <title><%= trackerName %> Hadoop Map/Reduce Administration</title>

View File

@ -165,6 +165,7 @@
} }
%> %>
<!DOCTYPE html>
<html> <html>
<title><%=trackerName%> Hadoop Machine List</title> <title><%=trackerName%> Hadoop Machine List</title>

View File

@ -27,6 +27,7 @@ import="javax.servlet.http.*"
import="java.io.*" import="java.io.*"
import="java.util.*" import="java.util.*"
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

View File

@ -32,6 +32,7 @@ private static final long serialVersionUID = 1L;
import="org.apache.hadoop.util.*" import="org.apache.hadoop.util.*"
import="org.apache.hadoop.util.ServletUtil" import="org.apache.hadoop.util.ServletUtil"
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

View File

@ -174,6 +174,7 @@
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="/static/hadoop.css"> <link rel="stylesheet" type="text/css" href="/static/hadoop.css">

View File

@ -51,6 +51,7 @@
JobHistoryParser.TaskInfo task = job.getAllTasks().get(TaskID.forName(tipid)); JobHistoryParser.TaskInfo task = job.getAllTasks().get(TaskID.forName(tipid));
TaskType type = task.getTaskType(); TaskType type = task.getTaskType();
%> %>
<!DOCTYPE html>
<html> <html>
<body> <body>
<h2><%=tipid %> attempts for <a href="jobdetailshistory.jsp?logFile=<%=logFile%>"> <%=job.getJobId() %> </a></h2> <h2><%=tipid %> attempts for <a href="jobdetailshistory.jsp?logFile=<%=logFile%>"> <%=job.getJobId() %> </a></h2>

View File

@ -81,6 +81,7 @@
} }
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Counters for <%=attemptid%></title> <title>Counters for <%=attemptid%></title>

View File

@ -66,6 +66,7 @@
Counters counters = attempt.getCounters(); Counters counters = attempt.getCounters();
%> %>
<!DOCTYPE html>
<html> <html>
<head> <head>
<title>Counters for <%=attemptid%></title> <title>Counters for <%=attemptid%></title>

View File

@ -35,6 +35,7 @@
String trackerName = tracker.getName(); String trackerName = tracker.getName();
%> %>
<!DOCTYPE html>
<html> <html>
<title><%= trackerName %> Task Tracker Status</title> <title><%= trackerName %> Task Tracker Status</title>