You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jd...@apache.org on 2010/11/19 19:06:14 UTC
svn commit: r1036965 - in /hbase/branches/0.90: CHANGES.txt
src/main/resources/hbase-webapps/master/table.jsp
Author: jdcryans
Date: Fri Nov 19 18:06:14 2010
New Revision: 1036965
URL: http://svn.apache.org/viewvc?rev=1036965&view=rev
Log:
HBASE-3237 Split request accepted -- BUT CURRENTLY A NOOP
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/src/main/resources/hbase-webapps/master/table.jsp
Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1036965&r1=1036964&r2=1036965&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Fri Nov 19 18:06:14 2010
@@ -686,6 +686,7 @@ Release 0.90.0 - Unreleased
incorrect (Kannan Muthukkaruppan via JD)
HBASE-3239 Handle null regions to flush in HLog.cleanOldLogs (Kannan
Muthukkaruppan via JD)
+ HBASE-3237 Split request accepted -- BUT CURRENTLY A NOOP
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable
Modified: hbase/branches/0.90/src/main/resources/hbase-webapps/master/table.jsp
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/resources/hbase-webapps/master/table.jsp?rev=1036965&r1=1036964&r2=1036965&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/resources/hbase-webapps/master/table.jsp (original)
+++ hbase/branches/0.90/src/main/resources/hbase-webapps/master/table.jsp Fri Nov 19 18:06:14 2010
@@ -46,28 +46,20 @@
<p><hr><p>
<%
if (action.equals("split")) {
- /*
if (key != null && key.length() > 0) {
- Writable[] arr = new Writable[1];
- arr[0] = new ImmutableBytesWritable(Bytes.toBytes(key));
- master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_SPLIT, arr);
+ hbadmin.split(key);
} 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")) {
- /*
if (key != null && key.length() > 0) {
- Writable[] arr = new Writable[1];
- arr[0] = new ImmutableBytesWritable(Bytes.toBytes(key));
- master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_COMPACT, arr);
+ hbadmin.compact(key);
} else {
- master.modifyTable(Bytes.toBytes(tableName), HConstants.Modify.TABLE_COMPACT, null);
+ hbadmin.compact(tableName);
}
- */
- %> Compact request accepted -- BUT CURRENTLY A NOOP -- FIX! <%
+ %> Compact request accepted. <%
}
%>
<p>Reload.