@Override
  public FileArchiveNotificationResponse reportFileArchival(RpcController controller,
    FileArchiveNotificationRequest request) throws ServiceException {
    try {
      server.checkInitialized();
      if (!QuotaUtil.isQuotaEnabled(server.getConfiguration())) {
        return FileArchiveNotificationResponse.newBuilder().build();
      }
      server.getMasterQuotaManager().processFileArchivals(request, server.getConnection(),
        server.getConfiguration(), server.getFileSystem());
      return FileArchiveNotificationResponse.newBuilder().build();
    } catch (Exception e) {
      throw new ServiceException(e);
    }
  }
@return LOCKED, if procedure is found and it has the lock; else UNLOCKED.
@throws ServiceException if given proc id is found but it is not a LockProcedure.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java