Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

How to grant permissions on _dummy_database/_dummy_table

avatar
Contributor

While trying to use Hive date functions I encountered the following permissions error:

0: jdbc:hive2://xxxxx.xxx.xxx.xxx:2181,> SELECT DATE_ADD('2017-12-21', 1);

Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [xxxxx] does not have [SELECT] privilege on [_dummy_database/_dummy_table] (state=42000,code=40000)

How can permissions be granted to users, groups, or public on the dummy database/dummy table in Hive?

Who agreed with this topic