Revert "HBASE-19970 (addendum for 1.x only) Remove unused functions from TableAuthManager."

This reverts commit 0f79c497c5.
This commit is contained in:
Michael Stack 2018-02-20 11:12:33 -08:00
parent 7990546efe
commit 071281cf52
1 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ import org.junit.experimental.categories.Category;
* Test the reading and writing of access permissions to and from zookeeper. * Test the reading and writing of access permissions to and from zookeeper.
*/ */
@Category(LargeTests.class) @Category(LargeTests.class)
public class TestZKPermissionWatcher { public class TestZKPermissionsWatcher {
private static final Log LOG = LogFactory.getLog(TestZKPermissionWatcher.class); private static final Log LOG = LogFactory.getLog(TestZKPermissionsWatcher.class);
private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
private static TableAuthManager AUTH_A; private static TableAuthManager AUTH_A;
private static TableAuthManager AUTH_B; private static TableAuthManager AUTH_B;
@ -90,7 +90,7 @@ public class TestZKPermissionWatcher {
} }
private void setTableACL( private void setTableACL(
User user, TableAuthManager srcAuthManager, final TableAuthManager destAuthManager, User user, TableAuthManager srcAuthManager, TableAuthManager destAuthManager,
TablePermission.Action... actions) throws Exception{ TablePermission.Action... actions) throws Exception{
// update ACL: george RW // update ACL: george RW
ListMultimap<String, TablePermission> perms = ArrayListMultimap.create(); ListMultimap<String, TablePermission> perms = ArrayListMultimap.create();