public void processFileArchivals(FileArchiveNotificationRequest request, Connection conn,
    Configuration conf, FileSystem fs) throws IOException {
    final HashMultimap<TableName, Entry<String, Long>> archivedFilesByTable = HashMultimap.create();
    // Group the archived files by table
    for (FileWithSize fileWithSize : request.getArchivedFilesList()) {
      TableName tn = ProtobufUtil.toTableName(fileWithSize.getTableName());
      archivedFilesByTable.put(tn,
        Maps.immutableEntry(fileWithSize.getName(), fileWithSize.getSize()));
    }
    if (LOG.isTraceEnabled()) {
      LOG.trace("Grouped archived files by table: " + archivedFilesByTable);
    }
    // Report each set of files to the appropriate object
    for (TableName tn : archivedFilesByTable.keySet()) {
      final Set<Entry<String, Long>> filesWithSize = archivedFilesByTable.get(tn);
      final FileArchiverNotifier notifier =
        FileArchiverNotifierFactoryImpl.getInstance().get(conn, conf, fs, tn);
      notifier.addArchivedFiles(filesWithSize);
    }
  }
Method to check if a table is in violation and policy set on table is DISABLE.
@param tableName          tableName to check.
@param quotaObserverChore QuotaObserverChore instance
@return returns true if table is in violation and policy is disable else false.
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/MasterQuotaManager.java