hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
/**
   * Checks for the following pre-checks in order:
   * <ol>
   *   <li>Master is initialized</li>
   *   <li>Rpc caller has admin permissions</li>
   * </ol>
   * @param requestName name of rpc request. Used in reporting failures to provide context.
   * @throws ServiceException If any of the above listed pre-check fails.
   */
Checks for the following pre-checks in order:

Master is initialized
Rpc caller has admin permissions

@param requestName name of rpc request. Used in reporting failures to provide context.
@throws ServiceException If any of the above listed pre-check fails.
Checks for the following pre - checks in order : Master is initialized Rpc caller has admin permissions @param requestName name of rpc request . Used in reporting failures to provide context . @throws ServiceException If any of the above listed pre - check fails .
private void rpcPreCheck(String requestName) throws ServiceException {
    try {
      master.checkInitialized();
      requirePermission(requestName, Permission.Action.ADMIN);
    } catch (IOException ioe) {
      throw new ServiceException(ioe);
    }
  }
private void rpcPreCheck ( String requestName ) throws ServiceException { try { master . checkInitialized ( ) ; requirePermission ( requestName , Permission . Action . ADMIN ) ; } catch ( IOException ioe ) { throw new ServiceException ( ioe ) ; } }
Checks for the following pre-checks in order:
 <ol>
   <li>Master is initialized</li>
   <li>Rpc caller has admin permissions</li>
 </ol>
 @param requestName name of rpc request.
Checks for the following pre - checks in order : <ol > <li > Master is initialized< / li > <li > Rpc caller has admin permissions< / li > < / ol > @param requestName name of rpc request .