Created 08-30-2017 08:34 AM
My requirement is database x has only access to user1 and database y only have the access to user2 using hive2 sql based Authorization model.
Created 08-30-2017 08:45 AM
First thing is to enable 'SQLStdAuth' for Hive authorization. Refer to Apache link for more details.
Created 08-30-2017 09:12 AM
by following the Apache link by changing the ownership of the database to role, we can grant the privileges. I followed these steps
create role a;
ALTER DATABASE x SET OWNER ROLE a;
can any help to proceed further steps towards the granting privileges to database x;
Thanks a lot.
Created 08-30-2017 08:54 AM
@Sindhu it was not secured
Created 08-30-2017 09:07 AM
by following the Apache link by changing the ownership of the database to role, we can grant the privileges. I followed these steps
create role a;
ALTER DATABASE x SET OWNER ROLE a;
can any help to proceed further steps towards the granting privileges to database x;
Thanks a lot.