Browsing Hive tables data and metadata is getting faster and prettier

Browsing Hive tables data and metadata is getting faster and prettier

Hue continues to boost the experience of SQL users with its improved autocompletes, smarter assist panel, SQL notebooks… and now a revamped Hive Metastore Browser.

The app is now single page and offers speed and more accessible statistics and data preview. See more of the improvements below or take a look at the following video demo.

New UI

Fresh restart

The front-end has been rewritten to be slicker and more user-friendly. More information is displayed and navigating across tabs is seamless as it no longer entails a page refresh.


Table specific page after


Table specific page before



List of tables page after


List of tables page before


Easy edition

Table and column comments can be edited in a single click.


Getting pretty

Scrolling bars are not flaky and ugly like in the previous version. They are invisible by default, and subtle when displayed


Old default scrollbar



Creation wizards

We also refreshed the wizard for creating tables and databases quickly, whether designing the schema manually or automatically from a sample file.

blog-57-create table




Single page app: first, now the initial page loads very quickly and fetches asynchronously the list of tables, table statistics, data sample, partition list. We are not blocking anymore until everything is queried in Hive. Subsequent navigation clicks will trigger only 1 or 2 calls to the server, instead of reloading all the page resources again. As an added bonus, the browser history now works on all the pages.

meta-slow meta-quick

Caching: The new assist caches all the Hive metadata. The pages listing tables and database also point to the same cache, as well as the editor autocomplete. This means that now the fetching of thousand of Hive tables and databases will only happen once. On the Hive side, these calls have even been optimized for taking seconds instead of previously minutes (HIVE-7575).

New Metastore blog post caching and hue each(1)

Don’t freeze my browser: on top of the caching, Hue is now much smarter thanks to its custom foreachVisible Ko Js [link] binding that displays only the elements visible on the screen. For example if the user has a list of 5000 tables, only tens of them will actually be rendered (the rendering is a costly part). The binding operates a sliding window of top of all this data, supports scrolling and won’t block your browser tab or even crash it anymore when displaying large list of objects.

New Metastore blog post caching and hue each

Data rich


Stats are easier to access than before. Most of the database and table metadata are displayed on top. Top values, min, max can also be retrieved and refreshed directly from the UI. Links to HDFS locations are automatically



Preview data

The first few rows of table data are displayed on the first page to provide users with a convenient quick preview.


Preview partitions

Partitions keys and a sample of partition values can also be found on the main page. Advanced users can filter and query all the partitions in the partition browser.

Metastore Partition View


The Hue team hopes that these new features will make your SQL data search and discovery easier! The metastore app will keep getting better by making data partitions and indexes easier to access and by adding more table, column, usage, top queries statistics. More is on a way, with a brand new SQL Editor!

Feel free to send feedback on the hue-user list or @gethue!


  1. Antonio B. 3 years ago

    The paragraph on caching mentions some Hive change improving the performance of some actions: “On the Hive side, these calls have even been optimized for taking seconds instead of previously minutes (HIVE-….)”.
    What Hive ticket or commit would that be?


  2. Tomasz U 2 years ago

    “-1 rows” in blog-metastore-stats.png looks odd, is it a mistake?

    • Author
      Hue Team 2 years ago

      It means the stats have not been calculated yet or are not accurate/fresh.

  3. Daniel 2 years ago

    Hi, I created a table in the SQL editor without column comments. So is showing: “from deserializer”, I change the comment but it seems that is not updating, because when I come back is showing “from deserializer” again. Any thoughts?


    • Daniel 2 years ago

      By the way, I’m using Hue 3.12

      • Daniel 2 years ago

        Apparently the problem is because i’m using:
        ROW FORMAT SERDE ‘org.apache.hadoop.hive.serde2.OpenCSVSerde’ in the table creation.

        Anyway, I created a view to point to that table, but when I try to update the column comments I have an error:

        Failed to alter column `default`.`fc_full_view` `id`: Bad status for request TExecuteStatementReq(confOverlay={}, sessionHandle=TSessionHandle(sessionId=THandleIdentifier(secret=’z2\x8b\xa6\xe2\xb8Gi\xaf\x90\x02\x1e\x021\xaeK’, guid=’\xaei>e\xa7\xe9OJ\xb8\xc1 +\x1c\xc2~\x1a’)), runAsync=True, statement=”ALTER TABLE `default`.`fc_full_view` CHANGE COLUMN `id` `id` INT COMMENT ‘ID ‘”): TExecuteStatementResp(status=TStatus(errorCode=10131, errorMessage=’Error while compiling statement: FAILED: SemanticException [Error 10131]: To alter a view you need to use the ALTER VIEW command.’, sqlState=’42000′, infoMessages=[‘*org.apache.hive.service.cli.HiveSQLException:Error while compiling statement: FAILED: SemanticException [Error 10131]: To alter a view you need to use the ALTER VIEW command.:47:46’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘sun.reflect.GeneratedMethodAccessor101:invoke::-1’, ‘’, ‘’, ‘’, ‘org.apache.hive.service.cli.session.HiveSessionProxy:access$’, ‘org.apache.hive.service.cli.session.HiveSessionProxy$’, ‘’, ‘’, ‘’, ‘’, ‘com.sun.proxy.$Proxy23:executeStatementAsync::-1’, ‘’, ‘’, ‘org.apache.hive.service.cli.thrift.TCLIService$Processor$’, ‘org.apache.hive.service.cli.thrift.TCLIService$Processor$’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘org.eclipse.jetty.server.AbstractHttpConnection$’, ‘’, ‘’, ‘’, ‘’, ‘$’, ‘’, ‘java.util.concurrent.ThreadPoolExecutor$’, ‘’, ‘*org.apache.hadoop.hive.ql.parse.SemanticException:To alter a view you need to use the ALTER VIEW command.:56:10’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’], statusCode=3), operationHandle=None)

        It seems that is trying to do an ALTER TABLE instead of an ALTER VIEW?

  4. sravas 1 year ago


    while uploading my csv file into table that created in metastore management database i found below error. but i could successfully uploaded text file where csv file with “;” delimeter.

    Error while compiling statement: FAILED: RuntimeException java.lang.RuntimeException:

  5. M Tiukinhoy 1 year ago

    In the Metastore, when I search for a table, it seems the table descriptions are being searched as well, which is great. Can this functionality be extended to also search for (1) a database name and its database description, and (2) column names within a table and the column descriptions? I completed a demo and SQL users may not be familiar with where a piece of data resides. Instead of guessing the database name, table name and column name, it’ll be nice to also search for the descriptions and names at all these three levels. This seems like a search in a data dictionary, so a search for “product name”, will include all databases, tables and columns where the words ‘product name’ can be found. If this is available in another tool like (Cloudera Navigator?), please let me know. Thanks — Mel

Leave a reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.