New in Cloudera Enterprise 5.10: Hue SQL Editor and Security Improvements

Categories: Hadoop Hue Oozie

Cloudera Enterprise 5.10 includes the latest updates of Hue, the intelligent editor for SQL Developers and Analysts.

As part of Cloudera’s continuing investments in user experience and productivity, Cloudera Enterprise 5.10 includes an updated version of Hue. We provide a summary of the main enhancements in the following part of this blog post. (Hue from C5.10 is also available for a quick try in one click on

SQL Improvements

The Hue editor keeps getting better with these major improvements:

Row Count

The number of rows returned is displayed so you can quickly see the size of the dataset. If the database engine does not provide the number of rows, Hue estimates the value and appends a plus sign, e.g. 100+.

row count

Sample Popup

This popup offers a quick way to see sample of the data and other statistics on databases, tables, and columns. You can open the popup from the SQL Assist or with a right-click on any SQL object (table, column, function…). In this release, it also opens faster and caches the data.

sample popup

The footer provides direct links to the metastore page or to the table in the table Assist.

SQL Assist

The rendering of the items was rewritten and optimized. You should not experience any lag on databases with thousands of columns. SQL assist

SQL Formatter

The SQL Formatter has a new and smarter algorithm that will make your queries look pretty with a single click!

Timeline and Pivot Graphing

These visualizations are convenient for plotting chronological data or when subsets of rows have the same attribute and they will be stacked together.

timeline graph


Pivot graph


Creating an External Table

The improved support for S3 introduced the possibility of directly creating an external table in HDFS or S3.

Read more about it here.

Automated S3 Configuration

When using Cloudera Manager, Hue will now inherit automatically the S3 credentials if those are configured.

S3 connect

Regular user won’t have automatically access to the S3 Browser and autocomplete. They will require to have the “File Browser S3 permission” in Hue User admin added to one of their groups.

Read more about it here.

New Security Improvements

Recently we have added many security options in Hue that enables Hue administrators to enforce and manage secure Hue installation.

Fixed sessionid and csrftoken with HttpOnly Flag

If the HttpOnly flag is included in HTTP response header, then the cookie cannot be accessed through client side script and thus browser will not reveal the cookie to any third party. In order to help mitigate the risk of cross-site scripting, A cookie with this attribute is called an HTTP-only cookie. Any information contained in an HTTP-only cookie is less likely to be disclosed to a hacker or a malicious Web site.

SASL Support for hive.server2.thrift.sasl.qop=”auth-conf”

SASL mechanisms support integrity and privacy protection of the communication channel after successful authentication.

In Thrift SASL library, the sasl_max_buffer support is already implemented. sasl_max_buffer in the hue.ini provides a bigger and configurable buffer size that allows to provide support for hive.server2.thrift.sasl.qop="auth-conf".

Introducing Request HTTP Pool in Hue

The Request Session object allows the persistence of certain parameters across requests. It also persists cookies across all requests made from the Session instance, and will use urllib3’s connection pooling. We are making several requests to the same host:port, with this change the underlying TCP connection will be reused, which can result in a significant performance increase.

Read more about it here.

Oozie Improvements

Email Notifications

It becomes easy to receive an email notification after a workflow execution is complete. The workflow submission popup now shows the “Send completion email” notifications

Extended Dashboard Filtering

Just start typing in the text field to get the list of jobs whose Name or Submitter partially matches with the text. From the below picture, you can see that text sh partially matches with the names of all four jobs. Note that the filter is applied on all the jobs and not just the ones in the current page.dashboard filteringTo find the one single job among thousands of submitted jobs, you should enter the complete ID as shown below.filter by submitted jobRead more about it here.

If you have any questions, feel free to comment here, on the community forum, or via @gethue!