blob: efe04924f13a8adca6961afa47830f0744e2dc6b [file] [log] [blame]
set hive.test.authz.sstd.hs2.mode=true;
set hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest;
set hive.security.authenticator.manager=org.apache.hadoop.hive.ql.security.SessionStateConfigUserAuthenticator;
set user.name=user1;
-- current user has been set (comment line before the set cmd is resulting in parse error!!)
-- grant insert on group should fail
GRANT ALL ON URI '/tmp' TO user user2;