add hadoop admin & namenode admin
This commit is contained in:
parent
26da02a7e0
commit
24e9297745
|
@ -83,4 +83,9 @@ public class AdminLogonController {
|
|||
public ModelAndView hadoopAdmin(HttpServletRequest request){
|
||||
return new ModelAndView("hadoop-administration");
|
||||
}
|
||||
|
||||
@RequestMapping(value="/namenode_administration")
|
||||
public ModelAndView namenodeAdmin(HttpServletRequest request){
|
||||
return new ModelAndView("namenode-administration");
|
||||
}
|
||||
}
|
|
@ -102,7 +102,9 @@ require(["dojo/parser", "dijit/Dialog","dijit/layout/TabContainer", "dojox/layou
|
|||
</div>
|
||||
<div data-dojo-type="dojox/layout/ContentPane" title="Hadoop Administration"
|
||||
href="hadoop_administration"></div>
|
||||
|
||||
|
||||
<div data-dojo-type="dojox/layout/ContentPane" title="Namenode Administration"
|
||||
href="namenode_administration"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>ozzie</title>
|
||||
<title>admin</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="http://133.133.2.150:50030/jobtracker.jsp" height="100%" width="100%" frameborder="0" align="middle" ></iframe>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8" isELIgnored ="false"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>admin</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="http://133.133.2.150:50070/dfshealth.jsp" height="100%" width="100%" frameborder="0" align="middle" ></iframe>
|
||||
</body>
|
||||
</html>
|
|
@ -13,11 +13,11 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>HaFlow: Flow Run Histories</title>
|
||||
<style>
|
||||
table
|
||||
.runhistory_table
|
||||
{
|
||||
border-collapse:collapse;
|
||||
}
|
||||
table, th, td{
|
||||
.runhistory_table{
|
||||
border : 1px solid #C0C0C0;
|
||||
padding-left : 5px;
|
||||
padding-right : 5px;
|
||||
|
@ -26,8 +26,7 @@ table, th, td{
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Flow Run History</h1>
|
||||
<h2>History List</h2>
|
||||
<h2>Flow Run History</h2>
|
||||
|
||||
<%
|
||||
FlowRunHistoryListModel frhlm =
|
||||
|
@ -35,20 +34,20 @@ table, th, td{
|
|||
%>
|
||||
|
||||
<% if(frhlm != null && frhlm.getFlowHistorys().size() != 0){ %>
|
||||
<table>
|
||||
<table class="runhistory_table">
|
||||
<tr>
|
||||
<th>Oozie Job Id</th>
|
||||
<th>Time</th>
|
||||
<th>Commit Message</th>
|
||||
<th class="runhistory_table">Oozie Job Id</th>
|
||||
<th class="runhistory_table">Time</th>
|
||||
<th class="runhistory_table">Commit Message</th>
|
||||
</tr>
|
||||
<%
|
||||
for( int i = 0; i < frhlm.getFlowHistorys().size(); i++){
|
||||
FlowRunHistoryModel frhm = frhlm.getFlowHistorys().get(i);
|
||||
%>
|
||||
<tr>
|
||||
<td><%=frhm.getOozieJobId() %></td>
|
||||
<td><%=frhm.getTimestamp() %></td>
|
||||
<td><%=frhm.getCommitMessage() %></td>
|
||||
<td class="runhistory_table"><%=frhm.getOozieJobId() %></td>
|
||||
<td class="runhistory_table"><%=frhm.getTimestamp() %></td>
|
||||
<td class="runhistory_table"><%=frhm.getCommitMessage() %></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue