public void setup() throws Exception {
policyFile = PolicyFile.setAdminOnServer1(ADMINGROUP);
policyFile.addGroupsToUser("hive", ADMINGROUP);
policyFile.addGroupsToUser(ADMIN1, ADMINGROUP);
configTool = new SentryConfigTool();
String hiveServer2 = System.getProperty("sentry.e2etest.hiveServer2Type",
"InternalHiveServer2");
String policyOnHDFS = System.getProperty(
"sentry.e2etest.hive.policyOnHDFS", "true");
if (policyOnHDFS.trim().equalsIgnoreCase("true")