HBASE-6256. ZK dump was missed in the move to new UI (Elliott Clark)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1352995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2012-06-22 18:55:16 +00:00
parent f59ddd78c3
commit 270f2f01b4
6 changed files with 61 additions and 22 deletions

View File

@ -92,7 +92,7 @@ org.apache.hadoop.hbase.HBaseConfiguration;
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row inner_header">
<div class="span8"> <div class="span8">
<h1>Master: <% master.getServerName().getHostname() %> </h1> <h1>Master: <% master.getServerName().getHostname() %> </h1>
</div> </div>

View File

@ -89,7 +89,7 @@ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad;
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row inner_header">
<div class="span8"> <div class="span8">
<h1>RegionServer: <% serverName.getHostname() %></h1> <h1>RegionServer: <% serverName.getHostname() %></h1>
</div> </div>

View File

@ -106,7 +106,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row inner_header">
<div class="span8"> <div class="span8">
<h1>Table action request accepted</h1> <h1>Table action request accepted</h1>
</div> </div>

View File

@ -71,7 +71,7 @@
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row inner_header">
<div class="span8"> <div class="span8">
<h1>User Tables</h1> <h1>User Tables</h1>
</div> </div>

View File

@ -34,24 +34,62 @@
%> %>
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!-- Commenting out DOCTYPE so our blue outline shows on hadoop 0.20.205.0, etc. <!-- Dont put a doctype jetty doesnt serve the css/js out correctly so we need quirks mode on -->
See tail of HBASE-2110 for explaination.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-->
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <head>
<meta charset="utf-8">
<title>ZooKeeper Dump</title> <title>ZooKeeper Dump</title>
<link rel="stylesheet" type="text/css" href="/static/hbase.css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="/static/css/bootstrap.css" rel="stylesheet">
<link href="/static/css/hbase.css" rel="stylesheet">
<link href="/static/css/bootstrap-responsive.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<a id="logo" href="http://hbase.org"><img src="/static/hbase_logo.png" alt="HBase Logo" title="HBase Logo" /></a>
<h1 id="page_title">ZooKeeper Dump</h1> <div class="navbar navbar-fixed-top">
<p id="links_menu"><a href="/master.jsp">Master</a>, <a href="/logs/">Local logs</a>, <a href="/stacks">Thread Dump</a>, <a href="/logLevel">Log Level</a></p> <div class="navbar-inner">
<hr id="head_rule" /> <div class="container">
<pre> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<%= ZKUtil.dump(watcher) %> <span class="icon-bar"></span>
</pre> <span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/rs-status">HBase Region Server</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="/">Home</a></li>
<li><a href="/logs/">Local logs</a></li>
<li><a href="/stacks">Thread Dump</a></li>
<li><a href="/logLevel">Log Level</a></li>
<li><a href="/dump">Debug dump</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<div class="row inner_header">
<div class="span8">
<h1>Zookeeper Dump</h1>
</div>
<div class="span4 logo">
<img src="/static/hbase_logo.png" height="66" width="266" alt="HBase logo"/>
</div>
</div>
<div class="row">
<div class="span12">
<pre><%= ZKUtil.dump(watcher).trim() %></pre>
</div>
</div>
</div>
</body> </body>
</html> </html>

View File

@ -17,3 +17,4 @@
*/ */
body { padding-top: 60px; } body { padding-top: 60px; }
.logo img { float: right; } .logo img { float: right; }
.inner_header { margin-bottom: 1em;}