HBASE-11363 Access checks in preCompact and preCompactSelection are out of sync

This commit is contained in:
Andrew Purtell 2014-06-24 17:09:38 -07:00
parent 92179b8afe
commit b26fb383cf
1 changed files with 0 additions and 6 deletions

View File

@ -1313,12 +1313,6 @@ public class AccessController extends BaseRegionObserver
return scanner;
}
@Override
public void preCompactSelection(final ObserverContext<RegionCoprocessorEnvironment> e,
final Store store, final List<StoreFile> candidates) throws IOException {
requirePermission("compact", getTableName(e.getEnvironment()), null, null, Action.ADMIN);
}
@Override
public void preGetClosestRowBefore(final ObserverContext<RegionCoprocessorEnvironment> c,
final byte [] row, final byte [] family, final Result result)