HBASE-1436 Killing regionserver can make corrupted hfile
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@777170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b4315595b9
commit
7b8db7bb8c
|
@ -7,12 +7,9 @@
|
||||||
import="org.apache.hadoop.hbase.HConstants"
|
import="org.apache.hadoop.hbase.HConstants"
|
||||||
import="org.apache.hadoop.hbase.master.MetaRegion"
|
import="org.apache.hadoop.hbase.master.MetaRegion"
|
||||||
import="org.apache.hadoop.hbase.client.HBaseAdmin"
|
import="org.apache.hadoop.hbase.client.HBaseAdmin"
|
||||||
import="org.apache.hadoop.hbase.io.ImmutableBytesWritable"
|
|
||||||
import="org.apache.hadoop.hbase.HServerInfo"
|
import="org.apache.hadoop.hbase.HServerInfo"
|
||||||
import="org.apache.hadoop.hbase.HServerAddress"
|
import="org.apache.hadoop.hbase.HServerAddress"
|
||||||
import="org.apache.hadoop.hbase.HBaseConfiguration"
|
import="org.apache.hadoop.hbase.HBaseConfiguration"
|
||||||
import="org.apache.hadoop.hbase.HColumnDescriptor"
|
|
||||||
import="org.apache.hadoop.hbase.client.tableindexed.IndexSpecification"
|
|
||||||
import="org.apache.hadoop.hbase.HTableDescriptor" %><%
|
import="org.apache.hadoop.hbase.HTableDescriptor" %><%
|
||||||
HMaster master = (HMaster)getServletContext().getAttribute(HMaster.MASTER);
|
HMaster master = (HMaster)getServletContext().getAttribute(HMaster.MASTER);
|
||||||
HBaseConfiguration conf = master.getConfiguration();
|
HBaseConfiguration conf = master.getConfiguration();
|
||||||
|
@ -32,17 +29,6 @@
|
||||||
<meta http-equiv="refresh" content="300"/>
|
<meta http-equiv="refresh" content="300"/>
|
||||||
<title>HBase Master: <%= master.getMasterAddress().getHostname()%>:<%= master.getMasterAddress().getPort() %></title>
|
<title>HBase Master: <%= master.getMasterAddress().getHostname()%>:<%= master.getMasterAddress().getPort() %></title>
|
||||||
<link rel="stylesheet" type="text/css" href="/static/hbase.css" />
|
<link rel="stylesheet" type="text/css" href="/static/hbase.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/jquery.treeview.css" />
|
|
||||||
<script src="/static/scripts/jquery-1.3.1.min.js" type="text/javascript"></script>
|
|
||||||
<script src="/static/scripts/jquery.cookie.js" type="text/javascript"></script>
|
|
||||||
<script src="/static/scripts/jquery.treeview.pack.js" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
$(document).ready(function(){
|
|
||||||
$("#tables").treeview({
|
|
||||||
control: "#tablecontrol",
|
|
||||||
persist: "cookie"
|
|
||||||
});
|
|
||||||
});</script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -97,7 +83,7 @@ $(document).ready(function(){
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr><th rowspan="<%= serverToServerInfos.size() + 1%>"></th><th>Address</th><th>Start Code</th><th>Load</th></tr>
|
<tr><th rowspan=<%= serverToServerInfos.size() + 1%>></th><th>Address</th><th>Start Code</th><th>Load</th></tr>
|
||||||
<% String[] serverNames = serverToServerInfos.keySet().toArray(new String[serverToServerInfos.size()]);
|
<% String[] serverNames = serverToServerInfos.keySet().toArray(new String[serverToServerInfos.size()]);
|
||||||
Arrays.sort(serverNames);
|
Arrays.sort(serverNames);
|
||||||
for (String serverName: serverNames) {
|
for (String serverName: serverNames) {
|
||||||
|
|
Loading…
Reference in New Issue