blob: 0d273fa126c56d0a2b202434a3a8ad1b92264670 [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 hive.security.authorization.enabled=true;
set user.name=hive_test_user;
-- temp function creation should fail for non-admin roles
create temporary function temp_fn as 'org.apache.hadoop.hive.ql.udf.UDFAscii';