hue: Metastore Manager and Hive Editor assist do not display DB tables for non-default databases unless ALL DB Ranger Hive policy access
Hi,
Metastore Manager and Hive Editor assist do not display DB tables for non-default databases unless Ranger Hive policy is set to ALL DB access. If access is granted to a single or multiple DBs (but not ALL - *) Hue does not display the tables list, however running: use DB; show tables; in the Hive Query Editor and we are able to properly have the tables in the results. Running queries against the DBs and tables works fine, as well.
We enabled debug but there’s no additional info that could help trace the problem.
Thanks
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
Hi,
To overcome this, I have replaced the use of thrift GetTables based call from get_tables_meta in
https://github.com/cloudera/hue/blob/master/apps/beeswax/src/beeswax/server/dbms.pywith :Hope this helps.
Thanks
Hi Elisabeta,
Unfortunately HDP+Hue is not a supported combination as of now. We do have an internal JIRA filed against hive/hue ranger integration which has not being worked on yet. We will keep you update once it gets resolved.
Sorry for the inconvenience!
Weixia