hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshb...@apache.org
Subject svn commit: r1575581 - /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Date Sat, 08 Mar 2014 18:06:12 GMT
Author: rajeshbabu
Date: Sat Mar  8 18:06:11 2014
New Revision: 1575581

URL: http://svn.apache.org/r1575581
Log:
HBASE-8076 add better doc for HBaseAdmin#offline API.(Rajesh)

Modified:
    hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java

Modified: hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java?rev=1575581&r1=1575580&r2=1575581&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
(original)
+++ hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Sat Mar  8 18:06:11 2014
@@ -1730,7 +1730,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 {



Mime
View raw message