HBASE-3237 Split request accepted -- BUT CURRENTLY A NOOP
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1036964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aa7b54a702
commit
c7708c5390
|
@ -686,6 +686,7 @@ Release 0.90.0 - Unreleased
|
||||||
incorrect (Kannan Muthukkaruppan via JD)
|
incorrect (Kannan Muthukkaruppan via JD)
|
||||||
HBASE-3239 Handle null regions to flush in HLog.cleanOldLogs (Kannan
|
HBASE-3239 Handle null regions to flush in HLog.cleanOldLogs (Kannan
|
||||||
Muthukkaruppan via JD)
|
Muthukkaruppan via JD)
|
||||||
|
HBASE-3237 Split request accepted -- BUT CURRENTLY A NOOP
|
||||||
|
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
|
@ -46,28 +46,20 @@
|
||||||
<p><hr><p>
|
<p><hr><p>
|
||||||
<%
|
<%
|
||||||
if (action.equals("split")) {
|
if (action.equals("split")) {
|
||||||
/*
|
|
||||||
if (key != null && key.length() > 0) {
|
if (key != null && key.length() > 0) {
|
||||||
Writable[] arr = new Writable[1];
|
hbadmin.split(key);
|
||||||
arr[0] = new ImmutableBytesWritable(Bytes.toBytes(key));
|
|
||||||
master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_SPLIT, arr);
|
|
||||||
} else {
|
} else {
|
||||||
master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_SPLIT);
|
hbadmin.split(tableName);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
%> Split request accepted -- BUT CURRENTLY A NOOP -- FIX!. <%
|
%> Split request accepted. <%
|
||||||
} else if (action.equals("compact")) {
|
} else if (action.equals("compact")) {
|
||||||
/*
|
|
||||||
if (key != null && key.length() > 0) {
|
if (key != null && key.length() > 0) {
|
||||||
Writable[] arr = new Writable[1];
|
hbadmin.compact(key);
|
||||||
arr[0] = new ImmutableBytesWritable(Bytes.toBytes(key));
|
|
||||||
master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_COMPACT, arr);
|
|
||||||
} else {
|
} else {
|
||||||
master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_COMPACT, null);
|
hbadmin.compact(tableName);
|
||||||
}
|
}
|
||||||
*/
|
%> Compact request accepted. <%
|
||||||
%> Compact request accepted -- BUT CURRENTLY A NOOP -- FIX! <%
|
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
<p>Reload.
|
<p>Reload.
|
||||||
|
|
Loading…
Reference in New Issue