HBASE-8076 add better doc for HBaseAdmin#offline API.(Rajesh)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1575580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
rajeshbabu 2014-03-08 18:04:30 +00:00
parent 11a089dc40
commit 6563749a4c
1 changed files with 10 additions and 1 deletions

View File

@ -1754,7 +1754,16 @@ public class HBaseAdmin implements Abortable, Closeable {
}
/**
* 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 {