Metastore Manager and Hive Editor assist do not display DB tables for non-default databases unless ALL DB Ranger Hive policy access
See original GitHub issueHi,
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
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
DB/tables in metastore manager, but not in Hive query editor
Now in Hue, I can view/create databases & tables in the Metastore Manager, but in the query editors (Hive and/or Impala) there are...
Read more >Impala Authorization
They can see the tables and their parent databases in the output of SHOW TABLES and SHOW DATABASES , USE the appropriate databases,...
Read more >Impala Tutorials - Cloudera Manager
This section includes tutorial scenarios that demonstrate how to begin using Impala once the software is installed. It focuses on techniques for ...
Read more >Apache Hive 3 tables - Cloudera Documentation
These tables are Hive managed tables. Alternatively, you can create an external table for non-transactional use. Because Hive control of the external table...
Read more >CREATE EXTERNAL SCHEMA - Amazon Redshift
HIVE METASTORE indicates that the external database is defined in an Apache Hive metastore. If HIVE METASTORE, is specified, URI is required. POSTGRES...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.py
with :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