I installed Sentry on Cluster, now where to start?
I followed this guide on the Cloudera website, I've finished "Installing and Upgrading the Sentry Service" step. Now what do I do next?
I tried to start Beeline and execute some queries as normal but get a privilege error
kinit -k -t /home/vgdata/vega.keytab vega@BI.VEGA.COM (get tgt for user vega)
beeline -u "jdbc:hive2://data-node01:10000/test;principal=hive/data-node01.vega.com@BI.VEGA.COM" (access beeline with kerberos principal)
select * from test; (execute query)
But I got an error like below
Error: Error while compiling statement: FAILED: SemanticException No valid privileges
User vega does not have privileges for SWITCHDATABASE
The required privileges: Server=server1->Db=*->Table=+->Column=*...
User "vega" is hdfs superuser, and also the main user that we use to connect to all Hadoop services (there is a Kerberos principal "vega" too)
I tried to execute some commands like
create role admin;
grant role ....
But all get an error like "No groups found for user vega"
Now where do I start? Is there a default "admin" user that I can do everything (including grant...)? I want to grant user "vega" the "admin" role, which can do everything. Something like my SQL grant privilege command
GRANT ALL PRIVILEGES ON database.table TO user;
GRANT ALL PRIVILEGES ON *.* TO vega;

