You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ra...@apache.org on 2014/03/08 19:09:20 UTC
svn commit: r1575582 -
/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Author: rajeshbabu
Date: Sat Mar 8 18:09:20 2014
New Revision: 1575582
URL: http://svn.apache.org/r1575582
Log:
HBASE-8076 add better doc for HBaseAdmin#offline API.(Rajesh)
Modified:
hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java?rev=1575582&r1=1575581&r2=1575582&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java (original)
+++ hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java Sat Mar 8 18:09:20 2014
@@ -1733,7 +1733,16 @@ public class HBaseAdmin implements Abort
}
/**
- * Special method, only used by hbck.
+ * Offline specified region from master's in-memory state. It will not attempt to reassign the
+ * region as in unassign. This API can be used when a region not served by any region server and
+ * still online as per Master's in memory state. If this API is incorrectly used on active region
+ * then master will loose track of that region.
+ *
+ * This is a special method that should be used by experts or hbck.
+ *
+ * @param regionName
+ * Region to offline.
+ * @throws IOException
*/
public void offline(final byte [] regionName)
throws IOException {