@Override
  public void checkScanQuota(ClientProtos.ScanRequest scanRequest, long maxScannerResultSize,
    long maxBlockBytesScanned, long prevBlockBytesScannedDifference) throws RpcThrottlingException {
    updateEstimateConsumeScanQuota(scanRequest, maxScannerResultSize, maxBlockBytesScanned,
      prevBlockBytesScannedDifference);
    checkQuota(0, 1, false);
  }
NOTE: The order matters. It should be something like [user, table, namespace, global]
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/DefaultOperationQuota.java